Compartir a través de


ServiceCollectionExtensions.AddSerializer Método

Definición

Agrega compatibilidad con el serializador.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSerializer (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Serialization.ISerializerBuilder> configure = default);
static member AddSerializer : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Serialization.ISerializerBuilder> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddSerializer (services As IServiceCollection, Optional configure As Action(Of ISerializerBuilder) = Nothing) As IServiceCollection

Parámetros

services
IServiceCollection

Colección de servicios.

configure
Action<ISerializerBuilder>

Delegado de configuración.

Devoluciones

Colección de servicios.

Se aplica a