C# Class DataDictionary.Tests.Runner.Events.VariableUpdate

Inheritance: DataDictionary.Tests.Runner.Events.ModelEvent
ファイルを表示 Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Public Methods

Method Description
Apply ( Runner runner ) : void

Performs the variable change

ComputeChanges ( bool apply, Runner runner ) : bool

Computes the changes related to this event

GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void

Builds the explanation of the element

RollBack ( Runner runner ) : void

Rollsback the changes performed during this event

VariableUpdate ( Action action, IModelElement instance, acceptor priority ) : DataDictionary.Generated

Constructor

Method Details

Apply() public method

Performs the variable change
public Apply ( Runner runner ) : void
runner Runner
return void

ComputeChanges() public method

Computes the changes related to this event
public ComputeChanges ( bool apply, Runner runner ) : bool
apply bool Indicates that the changes should be applied directly
runner Runner
return bool

GetExplain() public method

Builds the explanation of the element
public GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void
explanation TextualExplanation
explainSubElements bool Precises if we need to explain the sub elements (if any)
return void

RollBack() public method

Rollsback the changes performed during this event
public RollBack ( Runner runner ) : void
runner Runner
return void

VariableUpdate() public method

Constructor
public VariableUpdate ( Action action, IModelElement instance, acceptor priority ) : DataDictionary.Generated
action DataDictionary.Rules.Action The action which raised the variable update>
instance IModelElement
priority acceptor
return DataDictionary.Generated