StateMethodInfoEvaluatePreConditions Method

Evaluates the state pre-conditions.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public virtual bool EvaluatePreConditions(
	StateEnvironment environment,
	IExecutionTrace trace,
	out bool conditionsOk,
	out string message
)

Parameters

environment  StateEnvironment
The environment parameters.
trace  IExecutionTrace
The execution tracer object for recording the operation starting end ending.
conditionsOk  Boolean
Output parameter for the condition evaluation result. True if the conditions were met.
message  String
Output parameter for the error message if the conditions were not met.

Return Value

Boolean
True if the method was really executed.

Implements

IStateMethodInfoEvaluatePreConditions(StateEnvironment, IExecutionTrace, Boolean, String)

See Also