Sage Modeling and Simulation Library

MilestoneRelationship Members

The MilestoneRelationship type exposes the following members.


  Name Description
Public method MilestoneRelationship
Imposes changes on the dependent milestone, if the independent one changes.


  Name Description
Public method AddReciprocal
A reciprocal is a secondary relationship that should not fire if this one fired. A good example is a strut where one strut pins A to 5 mins after B, and another pins B to 5 mins before A.
Protected method AssessInitialCorrectnessForCtor
Assesses the initial satisfaction of this relationship for ctor.
Public method ClearReciprocal
Clears the reciprocal relationships.
Public method Detach
Detaches this relationship from the two milestones.
Public method Equals
Determines whether the specified Object is equal to the current 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 a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsSatisfied
Determines whether this relationship is currently satisfied.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PopEnabled
Pops the enabled state of this relationship.
Public method PushEnabled
Pushes the enabled state of this relationship.
Public method Reaction
Models a reaction to a movement of the independent milestone, and provides minimum and maximum acceptable DateTime values for the dependent milestone.
Public method RemoveReciprocal
Removes the specified reciprocal relationship from this relationship.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Protected field m_dependent
The dependent milestone affected by this milestone.
Protected field m_independent
The independent milestone monitored by this milestone.
Protected field m_reciprocals
A list of the reciprocal relationships to this relationship.


  Name Description
Public property Dependent
Gets the dependent milestone.
Public property Enabled
Gets or sets a value indicating whether this MilestoneRelationship is enabled.
Public property Independent
Gets the independent milestone.
Public property Reciprocal
Gets a relationship that is the reciprocal, if applicable, of this one. If there is no reciprocal, then this returns null.
Public property Reciprocals
Gets the reciprocal relationships.