Class Message<P>
Inheritance
System.Object
Message<P>
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class Message<P> : AbstractMessage, IMessage<P>, IMessage
Type Parameters
Constructors
|
Edit this page
View Source
Message(P)
Declaration
protected Message(P payload)
Parameters
Type |
Name |
Description |
P |
payload |
|
|
Edit this page
View Source
Message(P, IDictionary<String, Object>)
Declaration
protected Message(P payload, IDictionary<string, object> headers)
Parameters
Type |
Name |
Description |
P |
payload |
|
IDictionary<System.String, System.Object> |
headers |
|
|
Edit this page
View Source
Declaration
protected Message(P payload, IMessageHeaders headers)
Parameters
Fields
|
Edit this page
View Source
Declaration
protected readonly IMessageHeaders headers
Field Value
|
Edit this page
View Source
payload
Declaration
protected readonly P payload
Field Value
Properties
|
Edit this page
View Source
Declaration
public IMessageHeaders Headers { get; }
Property Value
|
Edit this page
View Source
Payload
Declaration
public P Payload { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Explicit Interface Implementations
|
Edit this page
View Source
IMessage.Payload
Declaration
object IMessage.Payload { get; }
Returns
Type |
Description |
System.Object |
|
Implements