Redigera

Dela via


JsonCodec Constructor

Definition

Initializes a new instance of the JsonCodec class.

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))

Parameters

serializableTypeSelectors
IEnumerable<ICodecSelector>

Filters used to indicate which types should be serialized by this codec.

copyableTypeSelectors
IEnumerable<ICopierSelector>

Filters used to indicate which types should be copied by this codec.

options
IOptions<JsonCodecOptions>

The JSON codec options.

Applies to