Class SerializableType
Holds a System.Type in a serializable format.
Implements
Inherited Members
Namespace: Global Namespace
Assembly: solution.dll
Syntax
[Serializable]
public class SerializableType : ISerializationCallbackReceiver
Constructors
Name | Description |
---|---|
SerializableType(Type) | Initializes the type. |
Fields
Name | Description |
---|---|
data | Serialized data. |
type | The type variable loaded for runtime. |
Methods
Name | Description |
---|---|
BeginLoad() | Call at the start of a deserialization, will begin the recording of any implicit upgrades. |
EndLoad() | Called on ending of a deserialization to see if SerializableType implicitly upgraded. |
OnAfterDeserialize() | Called by the deserialization module, used to load the .type from .data. |
OnBeforeSerialize() | Called by the serialization module, used to dump the .type to the .data. |