Table of Contents

Class EventPublisher

Namespace
QuickLink
Assembly
QuickLink.dll

Represents an event publisher that allows subscribing to and publishing events.

public class EventPublisher
Inheritance
EventPublisher
Inherited Members

Methods

Publishes the event, invoking all the subscribed callback methods.

public void Publish()

Subscribes to the event.

public void Subscribe(Action callback)

Parameters

callback Action

The callback method to be invoked when the event is published.

Unsubscribes from the event.

public void Unsubscribe(Action callback)

Parameters

callback Action

The callback method to be removed from the subscribers list.