Interface IMemoryMessage<T>
Represents a message that can provide both typed and memory-based access to its content.
public interface IMemoryMessage<out T> : IMemoryMessage, IDispatchMessage where T : class
Type Parameters
TThe type of the message content.
- Inherited Members
- Extension Methods
Properties
Content
Gets the deserialized message content.
T Content { get; }
Property Value
- T
The deserialized representation of the payload.
Remarks
This property may lazily deserialize the content from the Body on first access.
IsDeserialized
Gets a value indicating whether the content has been deserialized.
bool IsDeserialized { get; }