Edytuj

Udostępnij za pośrednictwem


OnDeserializedCallbacks Class

Definition

Helper class used to invoke OnDeserialized(DeserializationContext) on objects which implement IOnDeserialized, immediately after deserialization.

public class OnDeserializedCallbacks : Orleans.Serialization.DeserializationContext
type OnDeserializedCallbacks = class
    inherit DeserializationContext
Public Class OnDeserializedCallbacks
Inherits DeserializationContext
Inheritance
OnDeserializedCallbacks

Constructors

OnDeserializedCallbacks(IServiceProvider)

Initializes a new instance of the OnDeserializedCallbacks class.

Properties

AdditionalContext (Inherited from DeserializationContext)
CurrentObjectOffset

The offset of the current object in StreamReader.

(Inherited from DeserializationContext)
CurrentPosition (Inherited from DeserializationContext)
RuntimeClient

Gets the runtime client.

SerializationManager

Gets the serialization manager.

(Inherited from DeserializationContext)
ServiceProvider

Gets the service provider.

StreamReader

The stream reader.

(Inherited from DeserializationContext)

Methods

DeserializeInner(Type) (Inherited from DeserializationContext)
FetchReferencedObject(Int32)

Returns the object from the specified offset.

(Inherited from DeserializationContext)
OnDeserialized(IOnDeserialized)

The hook method invoked by the serialization infrastructure.

RecordObject(Object, Int32)

Records deserialization of the provided object.

(Inherited from DeserializationContext)
RecordObject(Object)

Records deserialization of the provided object at the current object offset.

(Inherited from DeserializationContext)

Applies to