LayerSurrogate Class
Name | Description | |
---|---|---|
LayerSurrogate(Layer) | Standard constructor. |
Name | Description | |
---|---|---|
Log | Gets the list of errors and warnings generated during the serialization/deserialization processes. (inherited from Surrogate<T>). |
Name | Description | |
---|---|---|
AfterDeserialize(ProtoBuf.SerializationContext) | Called after the object deserialization. (inherited from Surrogate<T>). | |
BeforeDeserialize(ProtoBuf.SerializationContext) | Called before the object deserialization. (inherited from Surrogate<T>). | |
BeforeSerialize(ProtoBuf.SerializationContext) | Called before the object serialization. (inherited from Surrogate<T>). | |
ConvertToObject() | Creates the object related to the surrogate. | |
CopyDataFromObject(Layer) | ||
CopyDataToObject(Layer) | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
WriteLog(string) | Writes a message into the log. (inherited from Surrogate<T>). |
Name | Description | |
---|---|---|
Implicit Conversion (Layer to LayerSurrogate) | Converts the object to the related surrogate during the serialization process. | |
Implicit Conversion (LayerSurrogate to Layer) | Converts the surrogate to the related object during the deserialization process. |
Name | Description | |
---|---|---|
Color | See Layer.Color. | |
Exportable | See Layer.Exportable. | |
LineTypeName | See Layer.LineTypeName. | |
LineWeight | See Layer.LineWeight. | |
Locked | See Layer.Locked. | |
MaterialName | See Layer.MaterialName. | |
Name | See Layer.Name. | |
Surrogate.Tag | Gets or sets the file header tag (for deserialization purpose only). (inherited from Surrogate<T>). | |
Surrogate.Version | Gets or sets the Eyeshot proprietary file format version. (inherited from Surrogate<T>). | |
Visible | See Layer.Visible. |
devDept.Serialization.LayerSurrogate