Class MessageHandlerMetadata
Composition metadata for IMessageHandler.
Inheritance
Inherited Members
Namespace: Kephas.Messaging.Composition
Assembly: Kephas.Messaging.dll
Syntax
public class MessageHandlerMetadata : AppServiceMetadata, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceMessageHandlerMetadata(IDictionary<String, Object>)
Initializes a new instance of the MessageHandlerMetadata class.
Declaration
public MessageHandlerMetadata(IDictionary<string, object> metadata)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | metadata | The metadata. |
MessageHandlerMetadata(Type, MessageTypeMatching, Object, MessageIdMatching, Type, MessageTypeMatching, Int32, Int32)
Initializes a new instance of the MessageHandlerMetadata class.
Declaration
public MessageHandlerMetadata(Type messageType = null, MessageTypeMatching messageTypeMatching = MessageTypeMatching.Type, object messageId = null, MessageIdMatching messageIdMatching = MessageIdMatching.All, Type envelopeType = null, MessageTypeMatching envelopeTypeMatching = MessageTypeMatching.Type, int processingPriority = 0, int overridePriority = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Type | messageType | Optional. Type of the message. |
MessageTypeMatching | messageTypeMatching | Optional. The message type matching. |
System.Object | messageId | Optional. The ID of the message. |
MessageIdMatching | messageIdMatching | Optional. The message ID matching. |
System.Type | envelopeType | Optional. Type of the envelope. |
MessageTypeMatching | envelopeTypeMatching | Optional. The envelope type matching. |
System.Int32 | processingPriority | Optional. The processing priority. |
System.Int32 | overridePriority | Optional. The override priority. |
Properties
| Improve this Doc View SourceEnvelopeType
Gets the type of the envelope.
Declaration
public Type EnvelopeType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the envelope. |
EnvelopeTypeMatching
Gets the envelope type matching.
Declaration
public MessageTypeMatching EnvelopeTypeMatching { get; }
Property Value
Type | Description |
---|---|
MessageTypeMatching | The envelope type matching. |
MessageId
Gets the ID of the message.
Declaration
public object MessageId { get; }
Property Value
Type | Description |
---|---|
System.Object | The ID of the message. |
MessageIdMatching
Gets the message ID matching.
Declaration
public MessageIdMatching MessageIdMatching { get; }
Property Value
Type | Description |
---|---|
MessageIdMatching | The message ID matching. |
MessageMatch
Gets the message match.
Declaration
public IMessageMatch MessageMatch { get; }
Property Value
Type | Description |
---|---|
IMessageMatch | The message match. |
MessageType
Gets the type of the message.
Declaration
public Type MessageType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the message. |
MessageTypeMatching
Gets the message type matching.
Declaration
public MessageTypeMatching MessageTypeMatching { get; }
Property Value
Type | Description |
---|---|
MessageTypeMatching | The message type matching. |