Compartir a través de


OptionConfigureExtensionMethods.ConfigureFormatterResolver<TOptions,TOptionFormatterResolver> Método

Definición

Configura una resolución de formateador de opciones para TOptions.

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

Parámetros de tipo

TOptions

Tipo de opciones.

TOptionFormatterResolver

Tipo de solucionador formateador de opción.

Parámetros

services
IServiceCollection

Los servicios.

Devoluciones

IServiceCollection, para encadenar con otras llamadas.

Se aplica a