Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Microsoft.Azure.WebJobs.Description;
- namespace CustomBindingsSamples.TeamsBinding
- {
- [AttributeUsage(AttributeTargets.Parameter)]
- [Binding]
- public class TeamsAttribute : Attribute
- {
- public TeamsAttribute()
- {
- }
- public TeamsAttribute(string webhookUrl)
- {
- WebhookUrl = webhookUrl;
- }
- [AutoResolve]
- public string WebhookUrl { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement