C# Класс Microsoft.AspNet.WebHooks.MyGetWebHookHandlerBase

Provides a base IWebHookHandler implementation which can be used to for handling MyGet WebHook using strongly-typed payloads. For details about MyGet WebHooks, see http://docs.myget.org/docs/reference/webhooks.
Наследование: WebHookHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
ExecuteAsync ( string receiver, WebHookHandlerContext context ) : System.Threading.Tasks.Task
ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildFinishedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildQueuedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildStartedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageAddedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageDeletedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageListedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, PackagePinnedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteAsync ( string receiver, WebHookHandlerContext context, PackagePushedPayload payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request.

ExecuteUnknownPayloadAsync ( string receiver, WebHookHandlerContext context, Newtonsoft.Json.Linq.JObject payload ) : System.Threading.Tasks.Task

Executes the incoming WebHook request for an unknown payload.

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

Метод Описание
MyGetWebHookHandlerBase ( ) : System

Initializes a new instance of the MyGetWebHookHandlerBase class.

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

ExecuteAsync() публичный Метод

public ExecuteAsync ( string receiver, WebHookHandlerContext context ) : System.Threading.Tasks.Task
receiver string
context WebHookHandlerContext
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildFinishedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.BuildFinishedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildQueuedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.BuildQueuedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, BuildStartedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.BuildStartedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageAddedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.PackageAddedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageDeletedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.PackageDeletedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, PackageListedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.PackageListedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, PackagePinnedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.PackagePinnedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteAsync() публичный Метод

Executes the incoming WebHook request.
public ExecuteAsync ( string receiver, WebHookHandlerContext context, PackagePushedPayload payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Microsoft.AspNet.WebHooks.Payloads.PackagePushedPayload Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

ExecuteUnknownPayloadAsync() публичный Метод

Executes the incoming WebHook request for an unknown payload.
public ExecuteUnknownPayloadAsync ( string receiver, WebHookHandlerContext context, Newtonsoft.Json.Linq.JObject payload ) : System.Threading.Tasks.Task
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext Provides context for the for further processing the incoming WebHook.
payload Newtonsoft.Json.Linq.JObject Strong-typed WebHook payload.
Результат System.Threading.Tasks.Task

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

Initializes a new instance of the MyGetWebHookHandlerBase class.
protected MyGetWebHookHandlerBase ( ) : System
Результат System