CodecProvider
class
Namespace: Orleans.Serialization.Serializers
Provides access to serializers and related objects.
public sealed class CodecProvider : IDeepCopierProvider, IActivatorProvider, IBaseCodecProvider, ICodecProvider, IFieldCodecProvider, IValueSerializerProviderConstructors
CodecProvider(IServiceProvider, IOptions<TypeManifestOptions>)Initializes a new instance of theCodecProviderclass.
Properties
ServicesGets the service provider.
Methods
GetActivatorGets an activator for the specified type.GetBaseCodecGets a base codec for the specified type.GetBaseCopierGets a base type copier capable of copying instances of typeT.GetCodec(Type)Gets a codec for the specific type.GetCodecGets a codec for the specified type.GetDeepCopier(Type)Gets a deep copier capable of copying instances of typetype.GetDeepCopierGets a deep copier capable of copying instances of typeT.GetValueSerializerGets the value serializer for the specified type.TryGetCodec(Type)Gets a codec for the specific type, ornullif no appropriate codec was found.TryGetCodecGets a codec for the specific type, ornullif no appropriate codec was found.TryGetDeepCopier(Type)Gets a deep copier capable of copying instances of typetype, or returnsnullif an appropriate copier was not found.TryGetDeepCopierGets a deep copier capable of copying instances of typeT, or returnsnullif an appropriate copier was not found.
