Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. using System;
  2. using Microsoft.Azure.WebJobs.Description;
  3.  
  4. namespace CustomBindingsSamples.TeamsBinding
  5. {
  6. [AttributeUsage(AttributeTargets.Parameter)]
  7. [Binding]
  8. public class TeamsAttribute : Attribute
  9. {
  10. public TeamsAttribute()
  11. {
  12. }
  13.  
  14. public TeamsAttribute(string webhookUrl)
  15. {
  16. WebhookUrl = webhookUrl;
  17. }
  18.  
  19. [AutoResolve]
  20. public string WebhookUrl { get; set; }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement