SerializerContext
class
Namespace: Orleans.Serialization
Provides compile-time registrations for a closed graph of serializable types.
public abstract class SerializerContext : TypeManifestProviderBaseRemarks
Derive a class from this type and override
ConfigureInner to register closed codec, copier, and service factories. Apply Orleans.GenerateSerializerContextAttribute to a partial derived class to generate these registrations from its declared roots and their serialization dependencies. Register its instance using SerializerBuilderExtensions. Multiple contexts contribute to the same serializer configuration. Constructors
Methods
CreateCodecHolder(ICodecProvider)Creates a statically closed holder which resolves a recursive codec dependency during construction.CreateCopierHolder(ICodecProvider)Creates a statically closed holder which resolves a recursive copier dependency on first use.
