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.
파일 보기 프로젝트 열기: aspnet/WebHooks 1 사용 예제들

공개 메소드들

메소드 설명
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