Click or drag to resize

IScriptController Methods

The IScriptController type exposes the following members.

Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
(Inherited from IApplyController)
Public methodCancel Cancels the current operation.
Public methodCompile Compiles the current script.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodExecute Executes the script.
Public methodHasExecutionErrors Determines whether execution errors are present.
Public methodInitializeDocument Initializes the controller with the document.
(Inherited from IMVCANController)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from IApplyController)
Public methodSetText Sets the script text in the view.
Public methodUpdate Updates the model with the current script text.
Top
See Also