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.1.0.1 (2.1.0.1)
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluatePostConditions
Executes the state post-conditions.
Public methodEvaluatePreConditions
Evaluates the state pre-conditions.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunAction
Executes a state action.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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