FileBodySurrogate Class

Defines the FileBody surrogate.
Public NotInheritable Class FileBodySurrogate 
Inherits Surrogate(Of FileBody)
This language is not supported or no code example is available.
public sealed class FileBodySurrogate : Surrogate<FileBody>
This language is not supported or no code example is available.
Name Description
Public constructor FileBodySurrogate(FileBody) 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(FileBody)
Protected method CopyDataToObject(FileBody)
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 (FileBody to FileBodySurrogate) Converts the object to the related surrogate during the serialization process.
Operator Static Implicit Conversion (FileBodySurrogate to FileBody) Converts the surrogate to the related object during the deserialization process.
Top
Fields
 
Name Description
Public field Blocks See FileBody.Blocks.
Public field Camera See FileBody.Camera
Public field DeserializedContent For deserialization purpose only.
Public field DrawingsBlocks See FileBody.DrawingsBlocks.
Public field DrawingsCenterlinesLayerName See <seealso cref="FileBody.DrawingsCenterlinesLayerName" />
Public field DrawingsCenterlinesLineTypeName See <seealso cref="FileBody.DrawingsCenterlinesLineTypeName" />
Public field DrawingsEdgesLayerName See FileBody.DrawingsEdgesLayerName.
Public field DrawingsGhostCirclesLayerName See FileBody.DrawingsGhostCirclesLayerName.
Public field DrawingsHatchPatterns See FileBody.DrawingsHatchPatterns.
Public field DrawingsHiddenEdgesLayerName See FileBody.DrawingsHiddenEdgesLayerName.
Public field DrawingsHiddenSegmentsLineTypeName See FileBody.DrawingsHiddenSegmentsLineTypeName.
Public field DrawingsHiddenSilhouettesLayerName See FileBody.DrawingsHiddenSilhouettesLayerName.
Public field DrawingsHiddenWiresLayerName See FileBody.DrawingsHiddenWiresLayerName.
Public field DrawingsLayers See FileBody.DrawingsLayers.
Public field DrawingsLineTypes See FileBody.DrawingsLineTypes.
Public field DrawingsRootBlockEntities The RootBlock's entities of the Drawings.
Public field DrawingsRootBlockName See DrawingsRootBlockName.
Public field DrawingsSheets See FileBody.DrawingsSheets.
Public field DrawingsSilhouettesLayerName See FileBody.DrawingsSilhouettesLayerName.
Public field DrawingsTextStyles See FileBody.DrawingsTextStyles.
Public field DrawingsWiresLayerName See FileBody.DrawingsWiresLayerName.
Public field Entities See FileBody.Entities.
Public field HatchPatterns See FileBody.HatchPatterns.
Public field Layers See FileBody.Layers.
Public field LineTypes See FileBody.LineTypes.
Public field Materials See FileBody.Materials.
Public field Paths See FileBody.Paths.
Public field RootBlockEntities The RootBlock's entities.
Public field RootBlockName See BlockKeyedCollection.RootBlockName.
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 TextStyles See FileBody.TextStyles.
Public field Types See FileBody.Types.
Top
devDept.Serialization.FileBodySurrogate

.NET Framework

Supported in: 4.8

In this article

Definition