Click or drag to resize

EventAttribute Class

Indicates a method is to be invoked when an event occurs.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    SampSharp.EntitiesEventAttribute

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public class EventAttribute : Attribute

The EventAttribute type exposes the following members.

Constructors
  NameDescription
Public methodEventAttribute
Initializes a new instance of the EventAttribute class
Top
Properties
  NameDescription
Public propertyName
Gets or sets the name of the event which should invoke the method. If this value is null, the method name is used as the event name.
Public propertyTypeId (Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also