Sage Modeling and Simulation Library

ISupportsMementos Members

The ISupportsMementos type exposes the following members.


  Name Description
Public method Equals(ISupportsMementos)
Returns true if the two mementos are semantically equal.
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 ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Public property HasChanged
Reports whether the object has changed relative to its memento since the last memento was recorded.
Public property Memento
Retrieves a memento from the object.
Public property ReportsOwnChanges
Indicates whether this object can report memento changes to its parent. (Mementos can contain other mementos.)


  Name Description
Public event MementoChangeEvent
Fired when the memento contents will have changed. This does not imply that the memento has changed, since the memento is recorded, typically, only on request. It does imply that if you ask for a memento, it will be in some way different from any memento you might have previously acquired.