Click or drag to resize

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.
Inheritance Hierarchy

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.2.0.9
Syntax
C#
public class EventHandlerAttribute : ScriptAttributeBase, 
	IEventHandlerAttribute

The EventHandlerAttribute type exposes the following members.

Constructors
  NameDescription
Public methodEventHandlerAttribute
Creates a new instance of this attribute.
Top
Properties
  NameDescription
Public propertyClass
The objects of a specific class to which the method is bound. (All classes assumed if not specified.)
(Inherited from ScriptAttributeBase.)
Public propertyEventType
The type of event to which the method is bound.
Public propertyFilterOptions
Additional options to further filter the type of objects/events to which the method is bound.
Public propertyObjectType
The object type to which the method is bound. (All object types assumed if not specified.)
(Inherited from ScriptAttributeBase.)
Public propertyPriority
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.)
Top
Methods
  NameDescription
Public methodMatchesEnvironment
MatchesContext checks the event handler attributes against the current event context and determines if the handler should be called.
Top
Fields
  NameDescription
Protected fieldclassIdentifier
Internal MFIdentifier version of the Class.
(Inherited from ScriptAttributeBase.)
Protected fieldobjectTypeIdentifier
Internal MFIdentifier of the ObjectType.
(Inherited from ScriptAttributeBase.)
Top
See Also