StateMethodInfo Class

StateMethodInfo represents a handler method that the VBScript delegates to. It can handle state run actions, pre- and postconditions and automatic state transitions.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class StateMethodInfo : IStateMethodInfo, 
	IMethodInfoBase
Inheritance
Object    StateMethodInfo
Implements
IMethodInfoBase, IStateMethodInfo

Constructors

StateMethodInfo Constructor.

Properties

LogString Returns a string for logging that contains the method name and declaring type.
Priority The event handler method call priority. Calls with higher priority should be executed before calls with lower priority.

Methods

EvaluatePostConditions Executes the state post-conditions.
EvaluatePreConditions Evaluates the state pre-conditions.
RunAction Executes a state action.

Fields

attribute The attribute instance that was attached to the method declaration.
postConditionsMethod The postcondition evaluation method. This is used when the method type is StateAttribute.AttributeType.StatePostConditions.
preConditionsMethod The precondition evaluation method. This is used when the method type is StateAttribute.AttributeType.StatePreConditions.
runActionMethod The run action method. This is used when the method type is StateAttribute.AttributeType.StateAction.

See Also