class MAGES::Recorder::InterpretsEventAttribute

Overview

An attribute that marks a class as an interpreter for a specific event type. More…

class InterpretsEventAttribute: public System.Attribute
{
public:
    // properties

    System.Type[] EventTypes;

    // methods

    InterpretsEventAttribute(params System.Type[] eventTypes);
};

Detailed Documentation

An attribute that marks a class as an interpreter for a specific event type.

Properties

System.Type[] EventTypes

Gets the event types that should be sent to the interpreter decorated with this attribute.

Methods

InterpretsEventAttribute(params System.Type[] eventTypes)

Initializes a new instance of the InterpretsEventAttribute class.

Parameters:

eventTypes

The event types that should be sent to the interpreter.