다음을 통해 공유


OptionConfigureExtensionMethods.TryConfigureFormatterResolver<TOptions,TOptionFormatterResolver> 메서드

정의

명명된 옵션 TOptions에 대한 옵션 포맷터 확인자 구성(구성되지 않은 경우)

public static Microsoft.Extensions.DependencyInjection.IServiceCollection TryConfigureFormatterResolver<TOptions,TOptionFormatterResolver> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TOptions : class where TOptionFormatterResolver : class, Orleans.IOptionFormatterResolver<TOptions>;
static member TryConfigureFormatterResolver : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection (requires 'Options : null and 'OptionFormatterResolver : null and 'OptionFormatterResolver :> Orleans.IOptionFormatterResolver<'Options>)
<Extension()>
Public Function TryConfigureFormatterResolver(Of TOptions As Class, TOptionFormatterResolver As Class) (services As IServiceCollection) As IServiceCollection

형식 매개 변수

TOptions
TOptionFormatterResolver

매개 변수

반환

적용 대상