Show / Hide Table of Contents

Interface IMessagingEventHub

Interface for event hubs supporting messaging.

Namespace: Kephas.Messaging.Events
Assembly: Kephas.Messaging.dll
Syntax
public interface IMessagingEventHub

Methods

| Improve this Doc View Source

Subscribe(IMessageMatch, Func<Object, IContext, CancellationToken, Task>)

Subscribes to the event(s) matching the criteria.

Declaration
IEventSubscription Subscribe(IMessageMatch match, Func<object, IContext, CancellationToken, Task> callback)
Parameters
Type Name Description
IMessageMatch match

Specifies the match criteria.

System.Func<System.Object, IContext, System.Threading.CancellationToken, System.Threading.Tasks.Task> callback

The callback.

Returns
Type Description
IEventSubscription

An IEventSubscription.

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