Click or drag to resize

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.
Inheritance Hierarchy
SystemObject
  MFiles.VAFStateMethodInfo

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.2.0.9
Syntax
C#
public class StateMethodInfo : IStateMethodInfo, 
	IMethodInfoBase

The StateMethodInfo type exposes the following members.

Constructors
  NameDescription
Public methodStateMethodInfo
Constructor.
Top
Properties
  NameDescription
Public propertyLogString
Returns a string for logging that contains the method name and declaring type.
Public propertyPriority
The event handler method call priority. Calls with higher priority should be executed before calls with lower priority.
Top
Methods
  NameDescription
Public methodEvaluatePostConditions
Executes the state post-conditions.
Public methodEvaluatePreConditions
Evaluates the state pre-conditions.
Public methodRunAction
Executes a state action.
Top
Fields
  NameDescription
Protected fieldattribute
The attribute instance that was attached to the method declaration.
Protected fieldpostConditionsMethod
The postcondition evaluation method. This is used when the method type is StateAttribute.AttributeType.StatePostConditions.
Protected fieldpreConditionsMethod
The precondition evaluation method. This is used when the method type is StateAttribute.AttributeType.StatePreConditions.
Protected fieldrunActionMethod
The run action method. This is used when the method type is StateAttribute.AttributeType.StateAction.
Top
See Also