EventHandlerAttribute 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 EventHandlerAttribute : ScriptAttributeBase, 
	IEventHandlerAttribute
Inheritance
Object    Attribute    ScriptAttributeBase    EventHandlerAttribute
Implements
IEventHandlerAttribute

Constructors

EventHandlerAttribute Creates a new instance of this attribute.

Properties

Class The objects of a specific class to which the method is bound. (All classes assumed if not specified.)
(Inherited from ScriptAttributeBase)
EventType The type of event to which the method is bound.
FilterOptions Additional options to further filter the type of objects/events to which the method is bound.
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)

Methods

MatchesEnvironment MatchesContext checks the event handler attributes 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