StatePreConditionsAttribute Class

Attribute for marking the state precondition evaluation handlers. Handler signature: delegate bool PreConditionsMethod( StateEnvironment environment, out string message )

Definition

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

Constructors

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.
(Inherited from StateAttribute)
Type The state attribute type.
(Inherited from StateAttribute)

Methods

MatchesEnvironment MatchesEnvironment checks the method filters against the current event context and determines if the handler should be called.
(Inherited from StateAttribute)

Fields

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

See Also