次の方法で共有


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

パラメーター

戻り値

適用対象