Bewerken

Delen via


SerializationManager Class

Definition

SerializationManager to oversee the Orleans serializer system.

public sealed class SerializationManager : IDisposable
type SerializationManager = class
    interface IDisposable
Public NotInheritable Class SerializationManager
Implements IDisposable
Inheritance
SerializationManager
Implements

Constructors

SerializationManager(IServiceProvider, IMessagingConfiguration, ITraceConfiguration)
SerializationManager(IServiceProvider, IOptions<SerializationProviderOptions>, ILoggerFactory, ITypeResolver, SerializationStatisticsGroup, Int32, Int32, Int32)
SerializationManager(IServiceProvider, IOptions<SerializationProviderOptions>, ILoggerFactory, ITypeResolver, SerializationStatisticsGroup, Int32)

Methods

DeepCopy(Object)

Deep copy the specified object, using DeepCopier functions previously registered for this type.

DeepCopyInner(Object, ICopyContext)

This method makes a deep copy of the object passed to it.

Deserialize(BinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

Deserialize(IBinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

Deserialize(Type, BinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

Deserialize(Type, IBinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

Deserialize<T>(BinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

Deserialize<T>(IBinaryTokenStreamReader)

Deserialize the next object from the input binary stream.

DeserializeFromByteArray(Byte[], Type)
DeserializeFromByteArray<T>(Byte[])

Deserialize data from the specified byte[] and rehydrate backi into objects.

DeserializeInner(Type, IDeserializationContext)

Deserialize the next object from the input binary stream.

DeserializeInner<T>(IDeserializationContext)

Deserialize the next object from the input binary stream.

Dispose()
GetGetter(FieldInfo)
GetReferenceSetter(FieldInfo)

Returns a delegate to set the value of this field for an instance.

GetValueSetter(FieldInfo)

Returns a delegate to set the value of this field for an instance.

LogRegisteredTypes()
Register(Type, DeepCopier, Serializer, Deserializer)

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

Register(Type, SerializationManager+DeepCopier, SerializationManager+Serializer, SerializationManager+Deserializer)

Register a Type with the serialization system to use the specified DeepCopier, Serializer and Deserializer functions.

RegisterSerializers(IApplicationPartManager)
RoundTripSerializationForTesting<T>(T)

Internal test method to do a round-trip Serialize+Deserialize loop

Serialize(Object, BinaryTokenStreamWriter)

Serialize the specified object, using Serializer functions previously registered for this type.

Serialize(Object, IBinaryTokenStreamWriter)

Serialize the specified object, using Serializer functions previously registered for this type.

SerializeInner(Object, ISerializationContext, Type)

Encodes the object to the provided binary token stream.

SerializeInner<T>(T, ISerializationContext)

Encodes the object to the provided binary token stream.

SerializeToByteArray(Object)

Serialize data into byte[].

Applies to