Compartilhar via


JsonCodec Construtor

Definição

Inicializa uma nova instância da 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))

Parâmetros

serializableTypeSelectors
IEnumerable<ICodecSelector>

Filtros usados para indicar quais tipos devem ser serializados por esse codec.

copyableTypeSelectors
IEnumerable<ICopierSelector>

Filtros usados para indicar quais tipos devem ser copiados por esse codec.

options
IOptions<JsonCodecOptions>

As opções de codec JSON.

Aplica-se a