Condividi tramite


ServiceCollectionExtensions.AddSerializer Metodo

Definizione

Aggiunge il supporto del serializzatore.

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

Parametri

services
IServiceCollection

Raccolta di servizi.

configure
Action<ISerializerBuilder>

Delegato di configurazione.

Restituisce

Raccolta di servizi.

Si applica a