C# 클래스 System.Web.Http.TrelloWebHookClientExtensions

파일 보기 프로젝트 열기: aspnet/WebHooks

공개 메소드들

메소드 설명
CreateAsync ( this client, System.Web.Http.Routing.UrlHelper urlHelper, string modelId, string description ) : Task

Creates a WebHook subscription for Trello to send WebHooks when changes happen to a given Trello modelId.

메소드 상세

CreateAsync() 공개 정적인 메소드

Creates a WebHook subscription for Trello to send WebHooks when changes happen to a given Trello modelId.
public static CreateAsync ( this client, System.Web.Http.Routing.UrlHelper urlHelper, string modelId, string description ) : Task
client this The implementation.
urlHelper System.Web.Http.Routing.UrlHelper A used to compute the URI where WebHooks for the given will be received.
modelId string The ID of a model to watch. This can be the ID of a member, card, board, or anything that actions apply to. Any event involving this model will trigger the WebHook. An example model ID is 4d5ea62fd76aa1136000000c.
description string A description of the WebHook, for example My Trello WebHook!.
리턴 Task