Redigera

Dela via


CodecProvider Class

Definition

Provides access to serializers and related objects.

public sealed class CodecProvider : Orleans.Serialization.Serializers.ICodecProvider
type CodecProvider = class
    interface ICodecProvider
    interface IFieldCodecProvider
    interface IBaseCodecProvider
    interface IValueSerializerProvider
    interface IActivatorProvider
    interface IDeepCopierProvider
Public NotInheritable Class CodecProvider
Implements ICodecProvider
Inheritance
CodecProvider
Implements

Constructors

CodecProvider(IServiceProvider, IOptions<TypeManifestOptions>)

Initializes a new instance of the CodecProvider class.

Properties

Services

Gets the service provider.

Methods

GetActivator<T>()

Gets an activator for the specified type.

GetBaseCodec<TField>()

Gets a base codec for the specified type.

GetBaseCopier<TField>()

Gets a base type copier capable of copying instances of type T.

GetCodec(Type)

Gets a codec for the specific type.

GetCodec<TField>()

Gets a codec for the specified type.

GetDeepCopier(Type)

Gets a deep copier capable of copying instances of type type.

GetDeepCopier<T>()

Gets a deep copier capable of copying instances of type T.

GetValueSerializer<TField>()

Gets the value serializer for the specified type.

TryGetCodec(Type)

Gets a codec for the specific type, or null if no appropriate codec was found.

TryGetCodec<TField>()

Gets a codec for the specific type, or null if no appropriate codec was found.

TryGetDeepCopier(Type)

Gets a deep copier capable of copying instances of type type, or returns null if an appropriate copier was not found.

TryGetDeepCopier<T>()

Gets a deep copier capable of copying instances of type T, or returns null if an appropriate copier was not found.

Applies to