C# Class Microsoft.AspNet.WebHooks.DependencyScopeExtensions

Datei anzeigen Open project: aspnet/WebHooks

Public Methods

Method Description
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.

Method Details

GetIdValidator() public static method

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.
return IWebHookIdValidator

GetRegistrars() public static method

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.
return IEnumerable