C# Класс Microsoft.AspNet.WebHooks.Services.CustomApiServices

Provides singleton instances of custom WebHook API services used by this module. If alternative implementations are provided by a Dependency Injection engine then those instances are used instead.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetIdValidator ( ) : IWebHookIdValidator

Gets a default IWebHookIdValidator implementation which is used if none are registered with the Dependency Injection engine.

GetRegistrars ( ) : IEnumerable

Gets the set of IWebHookRegistrar instances discovered by a default discovery mechanism which is used if none are registered with the Dependency Injection engine.

SetIdValidator ( IWebHookIdValidator instance ) : void

Sets a default IWebHookIdValidator implementation which is used if none are registered with the Dependency Injection engine.

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

Метод Описание
Reset ( ) : void

For testing purposes

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

GetIdValidator() публичный статический Метод

Gets a default IWebHookIdValidator implementation which is used if none are registered with the Dependency Injection engine.
public static GetIdValidator ( ) : IWebHookIdValidator
Результат IWebHookIdValidator

GetRegistrars() публичный статический Метод

Gets the set of IWebHookRegistrar instances discovered by a default discovery mechanism which is used if none are registered with the Dependency Injection engine.
public static GetRegistrars ( ) : IEnumerable
Результат IEnumerable

SetIdValidator() публичный статический Метод

Sets a default IWebHookIdValidator implementation which is used if none are registered with the Dependency Injection engine.
public static SetIdValidator ( IWebHookIdValidator instance ) : void
instance IWebHookIdValidator The to use. If null then a default implementation is used.
Результат void