Serializer Class

Base class that defines the protobuf model for the Eyeshot proprietary file format.
Public MustInherit Class Serializer
This language is not supported or no code example is available.
public abstract class Serializer
This language is not supported or no code example is available.
Name Description
Protected constructor Serializer() Empty constructor for deserialization purpose only.
Top
Name Description
Internal protected (Protected Friend) property HeaderTag During the serialization it represents the custom tag, during the deserialization it represents the file header tag.
Internal protected (Protected Friend) property HeaderVersion During the serialization it represents the LastVersion, during the deserialization it represents the file header version.
Public property Log Gets the list of errors and warnings generated during the serialization process.
Public property Model The RuntimeTypeModel that contains the object types that must be serialized.
Top
Methods
 
Name Description
Internal protected (Protected Friend) method CompileModel() Compile protobuf model in place for better performance and freeze it. This method can be used when all types are known beforehand.
Public method Contains(Type) Checks if the type is contained in the serializer model.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method FillHeaderModel() Initialize the protobuf model for the file header.
Protected method FillModel() Initialize the protobuf model for the Eyeshot proprietary file format.
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. (System.Object).
Public method GetType(string) Gets the Type from an assembly qualified name.
Protected method GetTypeForObject(string) Gets the type of an object starting from the assembly name.
Protected method InitializeModel(bool)
Public method Static IsValidVersion(int) Checks if a version is a valid Eyeshot proprietary file format version.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ModelIsCompiled()
Protected method ResetModel()
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method WriteLog(string) Writes a message into the log.
Top
Fields
 
Name Description
Public field Static FirstVersion Gets the first supported Eyeshot proprietary file format version.
Public field Static LastVersion Gets the last supported Eyeshot proprietary file format version.
Top
devDept.Serialization.Serializer

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition