Class SignalBase<T>
Base class for signals containing payload data.
Inheritance
System.Object
SignalBase<T>
Namespace: MAT.Atlas.Api.Core.Signals
Assembly: MAT.Atlas.Api.Core.dll
Syntax
public abstract class SignalBase<T> : Object, ISignal<T>, ISignal
Type Parameters
Name | Description |
---|---|
T | Type of signal payload. |
Constructors
SignalBase(T)
Initializes a new instance of the SignalBase<T> class.
Declaration
protected SignalBase(T data)
Parameters
Type | Name | Description |
---|---|---|
T | data | The data. |
Properties
Data
Gets the signal payload.
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T | The payload. |
SignalId
Gets this signal type's unique identifier.
Declaration
public Guid SignalId { get; }
Property Value
Type | Description |
---|---|
System.Guid | The signal type's unique identifier. |