Show / Hide Table of Contents

Class MessageHandlerAttribute

Adds message matching criteria for IMessageHandler services.

Inheritance
System.Object
System.Attribute
MessageHandlerAttribute
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.AttributedModel
Assembly: Kephas.Messaging.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class MessageHandlerAttribute : Attribute

Constructors

| Improve this Doc View Source

MessageHandlerAttribute(MessageTypeMatching)

Initializes a new instance of the MessageHandlerAttribute class.

Declaration
public MessageHandlerAttribute(MessageTypeMatching messageTypeMatching)
Parameters
Type Name Description
MessageTypeMatching messageTypeMatching

The message type matching.

| Improve this Doc View Source

MessageHandlerAttribute(MessageTypeMatching, Object)

Initializes a new instance of the MessageHandlerAttribute class.

Declaration
public MessageHandlerAttribute(MessageTypeMatching messageTypeMatching, object messageId)
Parameters
Type Name Description
MessageTypeMatching messageTypeMatching

The message type matching.

System.Object messageId

The ID of the handled messages.

| Improve this Doc View Source

MessageHandlerAttribute(MessageTypeMatching, Object, MessageIdMatching)

Initializes a new instance of the MessageHandlerAttribute class.

Declaration
public MessageHandlerAttribute(MessageTypeMatching messageTypeMatching, object messageId, MessageIdMatching messageIdMatching)
Parameters
Type Name Description
MessageTypeMatching messageTypeMatching

The message type matching.

System.Object messageId

The ID of the handled messages.

MessageIdMatching messageIdMatching

The message ID matching.

| Improve this Doc View Source

MessageHandlerAttribute(Object)

Initializes a new instance of the MessageHandlerAttribute class.

Declaration
public MessageHandlerAttribute(object messageId)
Parameters
Type Name Description
System.Object messageId

The ID of the handled messages.

Properties

| Improve this Doc View Source

EnvelopeType

Gets or sets the envelope type.

Declaration
[MetadataValue("EnvelopeType")]
public Type EnvelopeType { get; set; }
Property Value
Type Description
System.Type

The envelope type.

| Improve this Doc View Source

EnvelopeTypeMatching

Gets or sets the envelope type matching.

Declaration
[MetadataValue("EnvelopeTypeMatching")]
public MessageTypeMatching EnvelopeTypeMatching { get; set; }
Property Value
Type Description
MessageTypeMatching

The envelope type matching.

| Improve this Doc View Source

MessageId

Gets or sets the message ID.

Declaration
[MetadataValue("MessageId")]
public object MessageId { get; set; }
Property Value
Type Description
System.Object

The message ID.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX