Sage Modeling and Simulation Library

MementoHelper Members

The MementoHelper type exposes the following members.

Constructors


  Name Description
Public method MementoHelper
Initializes a new instance of the MementoHelper class.

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.)

Properties


  Name Description
Public property HasChanged
Gets or sets a value indicating whether the memento supporter that wraps this helper has changed.
Public property ReportsOwnChanges
Gets a value indicating whether the memento supporter that wraps this helper reports its own changes.

Events


  Name Description
Public event MementoChangeEvent
Occurs when the memento supporter that wraps this helper has reported a change in its internal state.