Table of Contents

Interface IMemoryMessage<T>

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.Abstractions.dll

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

T

The 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; }

Property Value

bool

true when the payload has been materialized; otherwise, false.