Skip to content

RegistrationChangeReason

Namespace: SideXP.Broadcaster

public enum RegistrationChangeReason

Why a registration was added or removed, reported on the monitor's registration-change hooks.

Fields

Registered

Registered = 0

The registration was just added.

Unsubscribed

Unsubscribed = 1

A signal listener was removed by an explicit Unsubscribe.

Disposed

Disposed = 2

The registration's SubscriptionHandle was disposed.

RemovedByOwner

RemovedByOwner = 3

The registration was removed by an UnsubscribeAll on its owner.

Replaced

Replaced = 4

A single-slot registration (provider or handler) was superseded by a replacement.

Cleared

Cleared = 5

The registration was removed by a Clear or Clear<T>.