IStateMethodInfoEvaluatePreConditions Method |
Evaluates the state pre-conditions.
Namespace:
MFiles.VAF
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxbool EvaluatePreConditions(
StateEnvironment environment,
IExecutionTrace trace,
out bool conditionsOk,
out string message
)
Function EvaluatePreConditions (
environment As StateEnvironment,
trace As IExecutionTrace,
<OutAttribute> ByRef conditionsOk As Boolean,
<OutAttribute> ByRef message As String
) As Boolean
bool EvaluatePreConditions(
StateEnvironment^ environment,
IExecutionTrace^ trace,
[OutAttribute] bool% conditionsOk,
[OutAttribute] String^% message
)
Parameters
- environment
- Type: MFiles.VAF.CommonStateEnvironment
The environment parameters. - trace
- Type: MFiles.VAFIExecutionTrace
The execution tracer object for recording the operation starting end ending. - conditionsOk
- Type: SystemBoolean
Output parameter for the condition evaluation result. True if the conditions were met. - message
- Type: SystemString
Output parameter for the error message if the conditions were not met.
Return Value
Type:
BooleanTrue if the method was really executed.
See Also