BlockExSurrogate Class

Defines the BlockEx surrogate.
Public Class BlockExSurrogate 
Inherits BlockSurrogate
This language is not supported or no code example is available.
public class BlockExSurrogate : BlockSurrogate
This language is not supported or no code example is available.
Name Description
Public constructor BlockExSurrogate(BlockEx) Standard constructor.
Top
Name Description
Public property Log Gets the list of errors and warnings generated during the serialization/deserialization processes. (inherited from Surrogate<T>).
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.
Protected method CopyDataFromObject(Block)
Protected method CopyDataToObject(Block)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from 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. (inherited from Object).
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
Name Description
Operator Static Implicit Conversion (Block to BlockSurrogate) Converts the object to the related surrogate during the serialization process. (inherited from BlockSurrogate).
Operator Static Implicit Conversion (BlockSurrogate to Block) Converts the surrogate to the related object during the deserialization process. (inherited from BlockSurrogate).
Top
Fields
 
Name Description
Public field BasePoint See Block.BasePoint. (inherited from BlockSurrogate).
Public field BlockSource See BlockEx.BlockSource
Public field CustomData The Block.CustomData as ProtoObject. (inherited from BlockSurrogate).
Public field Description See Block.Description. (inherited from BlockSurrogate).
Public field Entities See Block.Entities. (inherited from BlockSurrogate).
Public field FullPath See Block.FullPath. (inherited from BlockSurrogate).
Public field IsResolved See Block.IsResolved. (inherited from BlockSurrogate).
Public field MassUnits See Block.MassUnits. (inherited from BlockSurrogate).
Public field Name See Block.Name. (inherited from BlockSurrogate).
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>).
Public field Units See Block.Units. (inherited from BlockSurrogate).
Public field XRefName See BlockEx.XRefName
Top

.NET Framework

Supported in: 4.8

In this article

Definition