Class MessagingBehaviorAttribute
Adds message matching criteria for IMessagingBehavior services.
Inheritance
System.Object
System.Attribute
MessagingBehaviorAttribute
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Messaging.Behaviors.AttributedModel
Assembly: Kephas.Messaging.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class MessagingBehaviorAttribute : Attribute
Constructors
| Improve this Doc View SourceMessagingBehaviorAttribute(MessageTypeMatching)
Initializes a new instance of the MessagingBehaviorAttribute class.
Declaration
public MessagingBehaviorAttribute(MessageTypeMatching messageTypeMatching)
Parameters
Type | Name | Description |
---|---|---|
MessageTypeMatching | messageTypeMatching | The message type matching. |
MessagingBehaviorAttribute(MessageTypeMatching, Object)
Initializes a new instance of the MessagingBehaviorAttribute class.
Declaration
public MessagingBehaviorAttribute(MessageTypeMatching messageTypeMatching, object messageId)
Parameters
Type | Name | Description |
---|---|---|
MessageTypeMatching | messageTypeMatching | The message type matching. |
System.Object | messageId | The ID of the handled messages. |
MessagingBehaviorAttribute(Object)
Initializes a new instance of the MessagingBehaviorAttribute class.
Declaration
public MessagingBehaviorAttribute(object messageId)
Parameters
Type | Name | Description |
---|---|---|
System.Object | messageId | The ID of the handled messages. |
Properties
| Improve this Doc View SourceMessageId
Gets or sets the message ID.
Declaration
[MetadataValue("MessageId")]
public object MessageId { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The message ID. |
MessageIdMatching
Gets or sets the message ID matching.
Declaration
[MetadataValue("MessageIdMatching")]
public MessageIdMatching MessageIdMatching { get; set; }
Property Value
Type | Description |
---|---|
MessageIdMatching | The message ID matching. |
MessageTypeMatching
Gets or sets the message type matching.
Declaration
[MetadataValue("MessageTypeMatching")]
public MessageTypeMatching MessageTypeMatching { get; set; }
Property Value
Type | Description |
---|---|
MessageTypeMatching | The message type matching. |