Click or drag to resize

DataContainer Class

Generic data container that saves the fields and properties of an object. This object is serialized by the formatter.
Inheritance Hierarchy
SystemObject
  SavegameProDataContainer

Namespace:  SavegamePro
Assembly:  SavegameProDLL (in SavegameProDLL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class DataContainer

The DataContainer type exposes the following members.

Constructors
  NameDescription
Public methodDataContainer(Object)
Initializes a new instance of the DataContainer class with a UnitySurrogateSelector
Public methodDataContainer(Object, ISurrogateSelector)
Initializes a new instance of the DataContainer class with a custom ISurrogateSelector
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadT
Load the fields and values into the given object stored in this DataContainer
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldselector
ISurrogateSelector this DataContainer will use; determines what types to serialize and how
Top
See Also