Class MessageEnvelope<T>
public class MessageEnvelope<T> : MessageEnvelope, IMessage<T>, IMessage
Type Parameters
T
- Inheritance
-
MessageEnvelope<T>
- Implements
-
IMessage<T>
- Inherited Members
- Extension Methods
Constructors
MessageEnvelope(T, string?, IDictionary<string, object>?)
public MessageEnvelope(T content, string? from = null, IDictionary<string, object>? metadata = null)
Parameters
content
Tfrom
stringmetadata
IDictionary<string, object>
Properties
Content
public T Content { get; }
Property Value
- T