EntitySurrogate Class
Name | Description | |
---|---|---|
EntitySurrogate(Entity) |
Name | Description | |
---|---|---|
Color | See Entity.Color. | |
ColorMethod | See Entity.ColorMethod. | |
DeserializationContent | Gets or sets the contentType used for deserialization purpose only. | |
EntityData | The Entity.EntityData as ProtoObject. | |
LayerName | See Entity.LayerName. | |
LineTypeMethod | See Entity.LineTypeMethod. | |
LineTypeName | See Entity.LineTypeName. | |
LineTypeScale | See Entity.LineTypeScale. | |
LineWeight | See Entity.LineWeight. | |
LineWeightMethod | See Entity.LineWeightMethod. | |
MaterialName | See Entity.MaterialName. | |
Selectable | See Entity.Selectable. | |
Type | Gets the entity type for logging purpose (Not supported entity type, i.e. different Eyeshot editions). | |
Visible | See Entity.Visible. | |
XData | See Entity.XData. |
Name | Description | |
---|---|---|
BeforeDeserialize(ProtoBuf.SerializationContext) | Called before the object deserialization. | |
BeforeSerialize(ProtoBuf.SerializationContext) | Called before the object serialization. | |
CheckSurrogateData(contentType, string) | Integrity check according to the contentType. | |
ConvertToObject() | Creates the entity related to the surrogate. | |
CopyDataFromObject(Entity) | ||
CopyDataToObject(Entity) | ||
CreateGhostEntity(string) | Helper method to create a new Ghost entity. | |
CreateLinearPathOrGhostEntity(Point3D[], Type) | Helper method to create a new LinearPath or a new Ghost entity. | |
CreateMeshOrGhostEntity(Point3D[], IndexTriangle[], Type) | Helper method to create a new LinearPath or a new Ghost entity. | |
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). |
Name | Description | |
---|---|---|
Implicit Conversion (Entity to EntitySurrogate) | Converts the object to the related surrogate during the serialization process. | |
Implicit Conversion (EntitySurrogate to Entity) | Converts the surrogate to the related object during the deserialization process. |
This class is not declared as abstract to handle not supported entity.
devDept.Serialization.EntitySurrogate