Table of Contents

Struct EventSubscription

Namespace
RDCore.SDK.Runtime.Abstract.Execution
Assembly
RDCore.SDK.dll

One WithEvents variable of an object holding the source of the events it handles.

public readonly record struct EventSubscription : IEquatable<EventSubscription>
Implements
Inherited Members

Constructors

EventSubscription(VBRuntimeObjectId, Symbol)

One WithEvents variable of an object holding the source of the events it handles.

public EventSubscription(VBRuntimeObjectId Subscriber, Symbol Variable)

Parameters

Subscriber VBRuntimeObjectId

The object whose class declares the variable, and the handlers.

Variable Symbol

The WithEvents variable, which names the handlers: VariableName_EventName.

Properties

Subscriber

The object whose class declares the variable, and the handlers.

public VBRuntimeObjectId Subscriber { get; init; }

Property Value

VBRuntimeObjectId

Variable

The WithEvents variable, which names the handlers: VariableName_EventName.

public Symbol Variable { get; init; }

Property Value

Symbol