The Model type exposes the following members.
Aborts the model.
Adds an error to the model, and iterates over all of the error handlers, allowing each in turn to respond to the error. As soon as any errorHandler indicates that it has HANDLED the error (by returning true from 'HandleError'), the error is cleared, and further handlers are not called.
Adds a handler that, after transition to a specified state, will check the model for errors and if it finds any, will abort the model, putting it back to idle.
Enables a user/developer to add an error handler to the model in real time, (e.g. during a simulation run) and ensures that that handler is called for any errors currently in existence in the model.
Adds a warning to this model, e.g. a 'GenericModelWarning'...
Removes all errors.
Removes all errors whose target is the specified object.
Clears all of the warnings applicable to this model.
Called during the creation of the model, this method creates the executive. It is intended to be overridden in derived classes if the designer wishes to create a new and different executive instead of the standard executive.
Creates the state machine to be used by this model. Called by the framework, and intended to be overridden by a derived class.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Called by a derived class to cause this base class to fire the Model.Completed event.
Called by a derived class to cause this base class to fire the Model.Starting event.
Called by a derived class to cause this base class to fire the Model.Stopping event.
Returns the enumeration that represents the resultant state of the ABORT transition in this model's state machine.
Serves as the default hash function.(Inherited from Object.)
Returns the enumeration that represents the state of this model's state machine from which START is a legal transition.
Returns the enumeration that represents the resultant state of the START transition in this model's state machine.
NOTE:This method, when added to a derived class, needs to ne 'new'ed, not overridden.
Gets the Type of the current instance.(Inherited from Object.)
Returns true if the model has errors.
Returns true if this model has any active warnings.
Initializes the fields that feed the properties of this IModelObject identity.
Creates a shallow copy of the current Object.(Inherited from Object.)
Must be called by the creator when a new resource is created.
Pauses execution of this model after completion of the running callback of the current event.
Removes ModelErrors whose 'AutoClear' value is set to true. Typically applied to errors that do not persist from run to run - i.e. that are run time, not configuration, errors.
Removes the error from the model's collection of errors.
Removes an error handler from the model.
Resumes execution of this model. Ignored if the model is not already paused.
Starts the model.
Returns a string that represents the current object.(Inherited from Object.)