Skip to content

RegistrationInfo

Namespace: SideXP.Broadcaster

public struct RegistrationInfo

The monitor's description of a registration being added or removed, handed to the Registered and Unregistered hooks.

Remarks

Only produced in the editor and development builds; release builds never produce one.

Constructors

RegistrationInfo(EventKind, RegistrationRole, Type, object, int, RegistrationChangeReason)

public RegistrationInfo(EventKind kind, RegistrationRole role, Type eventType, object owner, int frame, RegistrationChangeReason reason)

The monitor's description of a registration being added or removed, handed to the Registered and Unregistered hooks.

Remarks

Only produced in the editor and development builds; release builds never produce one.

Properties

Kind

public EventKind Kind

The kind of event the registration is for.

Role

public RegistrationRole Role

What the registration does.

EventType

public Type EventType

The exact event type the registration is keyed on.

Owner

public object Owner

The owner that made the registration.

Frame

public int Frame

The frame the change happened on.

Reason

public RegistrationChangeReason Reason

Why the change happened.