Sage Modeling and Simulation Library

ValidationService Members

The ValidationService type exposes the following members.

Constructors


  Name Description
Public method ValidationService
Creates a new instance of the ValidationService class.

Methods


  Name Description
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 GetChildrenOf
Gets the children of the specified object in the graph.
Public method GetChildValidityState
Gets the aggregate validity state of the children of the specified object in the graph.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetInvalidChildCountOf
Gets the invalid child count of the specified object in the graph.
Public method GetInvalidPredecessorCountOf
Gets the invalid predecessor count of the specified object in the graph.
Public method GetParentOf
Gets the parent of the specified object in the graph.
Public method GetPredecessorsOf
Gets the predecessors of the specified object in the graph.
Public method GetPredecessorValidityState
Gets the state of validity of the predecessors of the specified object in the graph.
Public method GetSelfValidityState
Gets the state of the self validity of the specified object in the graph.
Public method GetSuccessorsOf
Gets the successors of the specified object in the graph.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValidityState
Gets the overall state of the validity of the specified object in the graph.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NotifySelfStateChange
Notifies the specified object in the graph of its self state change.
Public method Refresh(Boolean)
Performs the validity computation.
Public method Refresh()()()()
Performs the validity computation if there are no suspensions in progress, and anything in the graph has changed since the last refresh.
Public method Resume
Resumes this instance. See Suspend()()()().
Public method StatusReport()()()()
Creates a status report that describes the validity state of the graph.
Public method StatusReport(IHasValidity)
Creates a status report that describes the validity state of the graph, at and below the provided node.
Public method Suspend
Suspends validation computations to control cascaded recomputations. Suspend recomputation, make a bunch of changes, and resume. If anything needs to be recalculated, it will be. This also implements a nesting capability, so if a suspend has been done 'n' times (perhaps in a call stack), the recomputation will only be done once all 'n' suspends have been resumed.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property Static member KnownServices
Gets a list of the known ValidationServices.
Public property KnownValidityHolders
Gets a list of the IHasValidity objects that are known to this ValidationService.