Show / Hide Table of Contents

Interface IMessageMatchService

Interface for message match service.

Namespace: Kephas.Messaging
Assembly: Kephas.Messaging.dll
Syntax
[SingletonAppServiceContract]
public interface IMessageMatchService

Methods

| Improve this Doc View Source

GetMessageId(Object)

Gets the message ID.

Declaration
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
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
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.

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