コード例 #1
0
 public Task Delete(IWebhookId webhook)
 {
     return(_restClient.RequestAsync(new WebhookDeleteRequest(webhook)));
 }
コード例 #2
0
 public void Delete(IWebhookId webhook)
 {
     _restClient.Request(new WebhookDeleteRequest(webhook));
 }
コード例 #3
0
ファイル: AsyncWebhooks.cs プロジェクト: Geniegl/Trello.NET
 public Task Delete(IWebhookId webhook)
 {
     return _restClient.RequestAsync(new WebhookDeleteRequest(webhook));
 }
コード例 #4
0
 public WebhookDeleteRequest(IWebhookId webhook) : 
     base(webhook, method: Method.DELETE)            
 {            
 }
コード例 #5
0
 public WebhookDeleteRequest(IWebhookId webhook) :
     base(webhook, method: Method.DELETE)
 {
 }
コード例 #6
0
ファイル: Webhooks.cs プロジェクト: Geniegl/Trello.NET
 public void Delete(IWebhookId webhook)
 {
     _restClient.Request(new WebhookDeleteRequest(webhook));
 }
コード例 #7
0
 public WebhookRequest(IWebhookId webhook, string resource = "", Method method = Method.GET)
     : base("webhooks/{webhookId}/" + resource, method)
 {
     Guard.NotNull(webhook, "webhook");
     AddParameter("webhookId", webhook.GetWebhookId(), ParameterType.UrlSegment);
 }
コード例 #8
0
ファイル: WebhookRequest.cs プロジェクト: KennyBu/Trello.NET
 public WebhookRequest(IWebhookId webhook, string resource = "", Method method = Method.GET)
     : base("webhooks/{webhookId}/" + resource, method)
 {            
     Guard.NotNull(webhook, "webhook");
     AddParameter("webhookId", webhook.GetWebhookId(), ParameterType.UrlSegment);
 }