Condividi tramite


JsonCodec Costruttore

Definizione

Inizializza una nuova istanza della classe JsonCodec.

public JsonCodec (System.Collections.Generic.IEnumerable<Orleans.Serialization.Serializers.ICodecSelector> serializableTypeSelectors, System.Collections.Generic.IEnumerable<Orleans.Serialization.Serializers.ICopierSelector> copyableTypeSelectors, Microsoft.Extensions.Options.IOptions<Orleans.Serialization.JsonCodecOptions> options);
new Orleans.Serialization.JsonCodec : seq<Orleans.Serialization.Serializers.ICodecSelector> * seq<Orleans.Serialization.Serializers.ICopierSelector> * Microsoft.Extensions.Options.IOptions<Orleans.Serialization.JsonCodecOptions> -> Orleans.Serialization.JsonCodec
Public Sub New (serializableTypeSelectors As IEnumerable(Of ICodecSelector), copyableTypeSelectors As IEnumerable(Of ICopierSelector), options As IOptions(Of JsonCodecOptions))

Parametri

serializableTypeSelectors
IEnumerable<ICodecSelector>

Filtri usati per indicare quali tipi devono essere serializzati da questo codec.

copyableTypeSelectors
IEnumerable<ICopierSelector>

Filtri usati per indicare quali tipi devono essere copiati da questo codec.

options
IOptions<JsonCodecOptions>

Opzioni del codec JSON.

Si applica a