class MAGES::Analytics::MAGESEvent

Overview

The class that represents an event. More…

class MAGESEvent
{
public:
    // properties

    Dictionary EventOccurence;

    // methods

    MAGESEvent(string name);
    void ProcessEvent(EventTypes.BaseType eventObject);
};

Detailed Documentation

The class that represents an event.

Properties

Dictionary EventOccurence

Gets the dictionary that holds the number of times an event has occured.

Methods

MAGESEvent(string name)

Initializes a new instance of the MAGESEvent class.

Parameters:

name

The name of the event.

void ProcessEvent(EventTypes.BaseType eventObject)

Emits an event with the given payload.

Parameters:

eventObject

The event object.