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

Показать файл Открыть проект

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

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

Gets an IWebHookIdValidator implementation registered with the Dependency Injection engine or a default implementation if none are registered.

GetRegistrars ( this services ) : IEnumerable

Gets the set of IWebHookRegistrar instances registered with the Dependency Injection engine or an empty collection if none are registered.

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

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

Gets an IWebHookIdValidator implementation registered with the Dependency Injection engine or a default implementation if none are registered.
public static GetIdValidator ( this services ) : IWebHookIdValidator
services this The implementation.
Результат IWebHookIdValidator

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

Gets the set of IWebHookRegistrar instances registered with the Dependency Injection engine or an empty collection if none are registered.
public static GetRegistrars ( this services ) : IEnumerable
services this The implementation.
Результат IEnumerable