BuildMaster SDK Reference
Version:

EventListenerBase<TEvent> Class

Event listeners are triggered in response to a BuildMaster event.

Inheritance Hierarchy

Syntax

public class EventListenerBase<TEvent> : EventListenerBase, Inedo.Diagnostics.ILogger

Constructors

Name Description
EventListenerBase<TEvent>

Methods

Name Description
EventOccurred(Inedo.BuildMaster.Events.BuildMasterEvent eventDetails)

Invoked when one of the events indicated by the GetEventTypes method occurs.

EventOccurred(TEvent eventDetails)

Invoked when the event occurs.

GetEventTypes

Gets the event type codes that this listener responds to.

Remarks

This class is intended to make listening to a single event simpler. To listen for multiple events inherit the EventListenerBase class directly.