SurrogateWithReferenceId<T> Class

Base class for surrogates that support object graph reference.
Public MustInherit Class SurrogateWithReferenceId(Of  _ 
T
Inherits Surrogate(Of T) 
Implements ISurrogateWithReferenceId
This language is not supported or no code example is available.
public abstract class SurrogateWithReferenceId<T> : Surrogate<T>, 
ISurrogateWithReferenceId
This language is not supported or no code example is available.

Type Parameters

T

The class related to the surrogate.

Name Description
Protected constructor SurrogateWithReferenceId(T) Standard constructor.
Protected constructor SurrogateWithReferenceId(int) Constructor for object graph reference handling.
Top
Name Description
Public property Log Gets the list of errors and warnings generated during the serialization/deserialization processes. (inherited from Surrogate<T>).
Public property ReferenceId Gets the unique id assigned to the surrogate during the process of serialization/deserialization to handle object graph reference.
Top
Methods
 
Name Description
Protected method AfterDeserialize(ProtoBuf.SerializationContext) Called after the object deserialization. (inherited from Surrogate<T>).
Protected method BeforeDeserialize(ProtoBuf.SerializationContext) Called before the object deserialization. (inherited from Surrogate<T>).
Protected method BeforeSerialize(ProtoBuf.SerializationContext) Called before the object serialization. (inherited from Surrogate<T>).
Protected method ConvertToObject() Creates the object related to the surrogate. (inherited from Surrogate<T>).
Protected method CopyDataFromObject(T) Copies all data from the object to its surrogate. (inherited from Surrogate<T>).
Protected method CopyDataToObject(T) Copies common data from surrogate to object. (inherited from Surrogate<T>).
Public method Equals(object) Determines whether the specified object is equal to the current object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode() Serves as the default hash function.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Protected method WriteLog(string) Writes a message into the log. (inherited from Surrogate<T>).
Top
Fields
 
Name Description
Public field Surrogate.Tag Gets or sets the file header tag (for deserialization purpose only). (inherited from Surrogate<T>).
Protected field Surrogate.Version Gets or sets the Eyeshot proprietary file format version. (inherited from Surrogate<T>).
Top

.NET Framework

Supported in: 4.8

In this article

Definition