C# Класс Microsoft.AspNet.WebHooks.Controllers.WebHookRegistrationsController

Наследование: ApiController
Показать файл Открыть проект

Защищенные методы

Метод Описание
Initialize ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : void
RemovePrivateFilters ( IEnumerable webHooks ) : void

Removes all private filters from registered WebHooks.

VerifyFilters ( WebHook webHook ) : System.Threading.Tasks.Task

Ensure that the provided webHook only has registered filters.

Приватные методы

Метод Описание
CreateHttpResult ( StoreResult result ) : IHttpActionResult

Creates an IHttpActionResult based on the provided result.

Delete ( string id ) : Task
DeleteAll ( ) : Task
Get ( ) : Task>
GetUserId ( ) : Task

Gets the user ID for this request.

InvokeRegistrars ( WebHook webHook ) : System.Threading.Tasks.Task

Calls all IWebHookRegistrar instances for server side manipulation, inspection, or rejection of registrations.

Lookup ( string id ) : Task
Post ( WebHook webHook ) : Task
Put ( string id, WebHook webHook ) : Task
VerifyWebHook ( WebHook webHook ) : System.Threading.Tasks.Task

Ensures that the provided webHook has a reachable Web Hook URI unless the WebHook URI has a NoEcho query parameter.

Описание методов

Initialize() защищенный Метод

protected Initialize ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : void
controllerContext System.Web.Http.Controllers.HttpControllerContext
Результат void

RemovePrivateFilters() защищенный Метод

Removes all private filters from registered WebHooks.
protected RemovePrivateFilters ( IEnumerable webHooks ) : void
webHooks IEnumerable
Результат void

VerifyFilters() защищенный Метод

Ensure that the provided webHook only has registered filters.
protected VerifyFilters ( WebHook webHook ) : System.Threading.Tasks.Task
webHook WebHook
Результат System.Threading.Tasks.Task