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
-
IMessage<T>
- Inherited Members
Constructors
MutableMessage(T)
public MutableMessage(T payload)
Parameters
payload
T
MutableMessage(T, MutableMessageHeaders)
public MutableMessage(T payload, MutableMessageHeaders headers)
Parameters
payload
Theaders
MutableMessageHeaders
MutableMessage(T, IDictionary<string, object>)
public MutableMessage(T payload, IDictionary<string, object> headers)
Parameters
payload
Theaders
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
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.