Table of Contents

Class MutableMessage<T>

Namespace
Steeltoe.Integration.Support
Assembly
Steeltoe.Integration.IntegrationBase.dll
public class MutableMessage<T> : MutableMessage, IMessage<T>, IMessage

Type Parameters

T
Inheritance
MutableMessage<T>
Implements
Inherited Members

Constructors

MutableMessage(T)

public MutableMessage(T payload)

Parameters

payload T

MutableMessage(T, MutableMessageHeaders)

public MutableMessage(T payload, MutableMessageHeaders headers)

Parameters

payload T
headers MutableMessageHeaders

MutableMessage(T, IDictionary<string, object>)

public MutableMessage(T payload, IDictionary<string, object> headers)

Parameters

payload T
headers IDictionary<string, object>

Properties

Payload

Gets the body of the message

public T Payload { get; }

Property Value

T

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.