Sage Modeling and Simulation Library

MementoHelper Methods

The MementoHelper type exposes the following members.

Methods


  Name Description
Public method AddChild
Informs the helper that the memento supporter that wraps this helper has gained a child.
Public method Clear
Clears the state of this helper.
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 GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemoveChild
Informs the helper that the memento supporter that wraps this helper has lost a child.
Public method ReportChange()()()()
Called by the memento supporter that wraps this helper, to let it know that a change has occurred in its internal state.
Public method ReportSnapshot
Called by the memento supporter that wraps this helper, to let it know that a snapsot (a memento) has just been generated.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)