Show / Hide Table of Contents

Class DelayedEventAggregator<T>

A class which aggregates events and uses a buffer to delay publication.

Inheritance
object
EventPublisher<T>
EventAggregator<T>
DelayedEventAggregator<T>
Implements
IEventAggregator<T>
IEventPublisher<T>
IEventProcessor
Inherited Members
EventAggregator<T>.RecentEvents
EventAggregator<T>.Forward<TOther>(IEventPublisher<TOther>)
EventAggregator<T>.ClearEvents()
EventPublisher<T>.EventReceived
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.Events
Assembly: GameStateTracker.Events.dll
Syntax
public class DelayedEventAggregator<T> : EventAggregator<T>, IEventAggregator<T>, IEventPublisher<T>, IEventProcessor where T : class
Type Parameters
Name Description
T

The event type.

Remarks

Initializes a new instance of the DelayedEventAggregator<T> class.

Constructors

View Source

DelayedEventAggregator(params IEventPublisher<T>[])

A class which aggregates events and uses a buffer to delay publication.

Declaration
public DelayedEventAggregator(params IEventPublisher<T>[] publishers)
Parameters
Type Name Description
IEventPublisher<T>[] publishers

The event publishers to aggregate events from.

Remarks

Initializes a new instance of the DelayedEventAggregator<T> class.

Methods

View Source

ProcessEvents()

Publishes delayed events from the buffer and clears it.

Declaration
public void ProcessEvents()
View Source

Publish(object?, T)

Publishes an event.

Declaration
protected override void Publish(object? sender, T e)
Parameters
Type Name Description
object sender

The event source.

T e

The event.

Overrides
EventAggregator<T>.Publish(object, T)

Implements

IEventAggregator<T>
IEventPublisher<T>
IEventProcessor
  • View Source
In this article
Back to top Generated by DocFX