NewtonsoftJsonCodec Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NewtonsoftJsonCodec class.
public NewtonsoftJsonCodec (System.Collections.Generic.IEnumerable<Orleans.Serialization.Serializers.ICodecSelector> serializableTypeSelectors, System.Collections.Generic.IEnumerable<Orleans.Serialization.Serializers.ICopierSelector> copyableTypeSelectors, Microsoft.Extensions.Options.IOptions<Orleans.Serialization.NewtonsoftJsonCodecOptions> options);
new Orleans.Serialization.NewtonsoftJsonCodec : seq<Orleans.Serialization.Serializers.ICodecSelector> * seq<Orleans.Serialization.Serializers.ICopierSelector> * Microsoft.Extensions.Options.IOptions<Orleans.Serialization.NewtonsoftJsonCodecOptions> -> Orleans.Serialization.NewtonsoftJsonCodec
Public Sub New (serializableTypeSelectors As IEnumerable(Of ICodecSelector), copyableTypeSelectors As IEnumerable(Of ICopierSelector), options As IOptions(Of NewtonsoftJsonCodecOptions))
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<NewtonsoftJsonCodecOptions>
The JSON codec options.