Serializer Class
Name | Description | |
---|---|---|
Serializer() | Empty constructor for deserialization purpose only. |
Name | Description | |
---|---|---|
HeaderTag | During the serialization it represents the custom tag, during the deserialization it represents the file header tag. | |
HeaderVersion | During the serialization it represents the LastVersion, during the deserialization it represents the file header version. | |
Log | Gets the list of errors and warnings generated during the serialization process. | |
Model | The ProtoBuf.Meta.RuntimeTypeModel that contains the object types that must be serialized. |
Name | Description | |
---|---|---|
AddReferenceIdField(MetaType) | ||
AddToCache(ISurrogateWithReferenceId, object) | For internal use only. Adds the specified key and value to the serializer cache for the current thread during the serialization process. | |
AddToCache(object, ISurrogateWithReferenceId) | For internal use only. Adds the specified key and value to the serializer cache for the current thread during the serialization process. | |
CompileModel() | Compile protobuf model in place for better performance and freeze it. This method can be used when all types are known beforehand. | |
Contains(Type) | Checks if the type is contained in the serializer model. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
FillHeaderModel() | Initialize the protobuf model for the file header. | |
FillModel() | Initialize the protobuf model for the Eyeshot proprietary file format. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetCachedObject(ISurrogateWithReferenceId) | For internal use only. Gets the object associated with the specified ISurrogateWithReferenceId. | |
GetCachedObjectWithReferenceId(object) | For internal use only. Gets the ISurrogateWithReferenceId associated with the specified object for the current thread. | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType(string) | Gets the Type from an assembly qualified name. | |
GetTypeForObject(string) | Gets the type of an object starting from the assembly name. | |
InitializeModel(bool) | ||
IsValidVersion(int) | Checks if a version is a valid Eyeshot proprietary file format version. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ModelIsCompiled() | Indicates whether the protobuf model is already compiled or not. | |
ResetCache() | For internal use only. Resets the cache for the current thread. | |
ResetModel() | Resets the protobuf model. | |
ResizeCache(int) | Resizes the cache for object graph reference handling. | |
SetProtobufModel(RuntimeTypeModel) | Sets the protobuf model. | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
WriteLog(string) | Writes a message into the log. |
Name | Description | |
---|---|---|
FirstVersion | Gets the first supported Eyeshot proprietary file format version. | |
LastVersion | Gets the last supported Eyeshot proprietary file format version. |