Sage Modeling and Simulation Library

Substance..::..SubstanceMemento Methods

The Substance..::..SubstanceMemento type exposes the following members.

Methods


  Name Description
Public method CreateTarget
Creates an empty copy of whatever object this memento can reconstitute. Some mementos are only able to reconstitute into their source objects (they can only be used to restore state in the same object), and these mementos will return a reference to that object.)
Public method Equals(IMemento)
Ascertains equality between this one and the other one.
Public method Equals(System.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 GetDictionary
Emits an IDictionary form of the memento that can be, for example, dumped to Trace.
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.)
Public method Load
Loads the contents of this Memento into the provided 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.)