Show / Hide Table of Contents

Class DefaultMessageMatchService

A default message match service.

Inheritance
System.Object
DefaultMessageMatchService
Implements
IMessageMatchService
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Messaging
Assembly: Kephas.Messaging.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultMessageMatchService : IMessageMatchService

Methods

| Improve this Doc View Source

GetMessageId(Object)

Gets the message ID.

Declaration
public virtual object GetMessageId(object message)
Parameters
Type Name Description
System.Object message

The message.

Returns
Type Description
System.Object

The message ID.

| Improve this Doc View Source

GetMessageType(Object)

Gets the message type.

Declaration
public virtual Type GetMessageType(object message)
Parameters
Type Name Description
System.Object message

The message.

Returns
Type Description
System.Type

The message type.

| Improve this Doc View Source

IsMatch(IMessageMatch, Type, Type, Object)

Checks whether the message type and message ID matches the provided criteria.

Declaration
public virtual bool IsMatch(IMessageMatch messageMatch, Type envelopeType, Type messageType, object messageId)
Parameters
Type Name Description
IMessageMatch messageMatch

Provides the matching criteria.

System.Type envelopeType

Type of the envelope.

System.Type messageType

Type of the message.

System.Object messageId

Identifier for the message.

Returns
Type Description
System.Boolean

True if the message type and ID matches the criteria, false if not.

Implements

IMessageMatchService

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)
MessageMatchServiceExtensions.IsMatch(IMessageMatchService, IMessageMatch, IMessage)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX