StateAttribute Class

Allows methods to be specified as event handler delegates. If these attributes match a certain event environment, the attached method will be executed.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class StateAttribute : ScriptAttributeBase, 
	IStateAttribute
Inheritance
Object    Attribute    ScriptAttributeBase    StateAttribute
Derived
Implements
IStateAttribute

Constructors

StateAttribute Constructor.

Properties

Class The objects of a specific class to which the method is bound. (All classes assumed if not specified.)
(Inherited from ScriptAttributeBase)
ObjectType The object type to which the method is bound. (All object types assumed if not specified.)
(Inherited from ScriptAttributeBase)
Priority The event handling priority. The highest priority handlers receive the event first. Large number indicates a high priority. 0 is the default value.
(Inherited from ScriptAttributeBase)
State The property definition alias where the method containing this attribute should be attached.
Type The state attribute type.

Methods

MatchesEnvironment MatchesEnvironment checks the method filters against the current event context and determines if the handler should be called.

Fields

classIdentifier Internal MFIdentifier version of the Class.
(Inherited from ScriptAttributeBase)
objectTypeIdentifier Internal MFIdentifier of the ObjectType.
(Inherited from ScriptAttributeBase)

See Also