Show / Hide Table of Contents

Class NullDistributedEventBus

Inheritance
object
NullDistributedEventBus
Implements
IDistributedEventBus
IEventBus
Inherited Members
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EventBus.Distributed
Assembly: Volo.Abp.EventBus.dll
Syntax
public sealed class NullDistributedEventBus : IDistributedEventBus, IEventBus

Properties

Instance

Declaration
public static NullDistributedEventBus Instance { get; }
Property Value
Type Description
NullDistributedEventBus

Methods

PublishAsync(Type, object, bool)

Declaration
public Task PublishAsync(Type eventType, object eventData, bool onUnitOfWorkComplete = true)
Parameters
Type Name Description
Type eventType
object eventData
bool onUnitOfWorkComplete
Returns
Type Description
Task

PublishAsync(Type, object, bool, bool)

Declaration
public Task PublishAsync(Type eventType, object eventData, bool onUnitOfWorkComplete = true, bool useOutbox = true)
Parameters
Type Name Description
Type eventType
object eventData
bool onUnitOfWorkComplete
bool useOutbox
Returns
Type Description
Task

PublishAsync<TEvent>(TEvent, bool)

Declaration
public Task PublishAsync<TEvent>(TEvent eventData, bool onUnitOfWorkComplete = true) where TEvent : class
Parameters
Type Name Description
TEvent eventData
bool onUnitOfWorkComplete
Returns
Type Description
Task
Type Parameters
Name Description
TEvent

PublishAsync<TEvent>(TEvent, bool, bool)

Declaration
public Task PublishAsync<TEvent>(TEvent eventData, bool onUnitOfWorkComplete = true, bool useOutbox = true) where TEvent : class
Parameters
Type Name Description
TEvent eventData
bool onUnitOfWorkComplete
bool useOutbox
Returns
Type Description
Task
Type Parameters
Name Description
TEvent

Subscribe(Type, IEventHandler)

Declaration
public IDisposable Subscribe(Type eventType, IEventHandler handler)
Parameters
Type Name Description
Type eventType
IEventHandler handler
Returns
Type Description
IDisposable

Subscribe(Type, IEventHandlerFactory)

Declaration
public IDisposable Subscribe(Type eventType, IEventHandlerFactory factory)
Parameters
Type Name Description
Type eventType
IEventHandlerFactory factory
Returns
Type Description
IDisposable

Subscribe<TEvent>(Func<TEvent, Task>)

Declaration
public IDisposable Subscribe<TEvent>(Func<TEvent, Task> action) where TEvent : class
Parameters
Type Name Description
Func<TEvent, Task> action
Returns
Type Description
IDisposable
Type Parameters
Name Description
TEvent

Subscribe<TEvent>(IDistributedEventHandler<TEvent>)

Declaration
public IDisposable Subscribe<TEvent>(IDistributedEventHandler<TEvent> handler) where TEvent : class
Parameters
Type Name Description
IDistributedEventHandler<TEvent> handler
Returns
Type Description
IDisposable
Type Parameters
Name Description
TEvent

Subscribe<TEvent>(IEventHandlerFactory)

Declaration
public IDisposable Subscribe<TEvent>(IEventHandlerFactory factory) where TEvent : class
Parameters
Type Name Description
IEventHandlerFactory factory
Returns
Type Description
IDisposable
Type Parameters
Name Description
TEvent

Subscribe<TEvent, THandler>()

Declaration
public IDisposable Subscribe<TEvent, THandler>() where TEvent : class where THandler : IEventHandler, new()
Returns
Type Description
IDisposable
Type Parameters
Name Description
TEvent
THandler

Unsubscribe(Type, IEventHandler)

Declaration
public void Unsubscribe(Type eventType, IEventHandler handler)
Parameters
Type Name Description
Type eventType
IEventHandler handler

Unsubscribe(Type, IEventHandlerFactory)

Declaration
public void Unsubscribe(Type eventType, IEventHandlerFactory factory)
Parameters
Type Name Description
Type eventType
IEventHandlerFactory factory

UnsubscribeAll(Type)

Declaration
public void UnsubscribeAll(Type eventType)
Parameters
Type Name Description
Type eventType

UnsubscribeAll<TEvent>()

Declaration
public void UnsubscribeAll<TEvent>() where TEvent : class
Type Parameters
Name Description
TEvent

Unsubscribe<TEvent>(Func<TEvent, Task>)

Declaration
public void Unsubscribe<TEvent>(Func<TEvent, Task> action) where TEvent : class
Parameters
Type Name Description
Func<TEvent, Task> action
Type Parameters
Name Description
TEvent

Unsubscribe<TEvent>(IEventHandlerFactory)

Declaration
public void Unsubscribe<TEvent>(IEventHandlerFactory factory) where TEvent : class
Parameters
Type Name Description
IEventHandlerFactory factory
Type Parameters
Name Description
TEvent

Unsubscribe<TEvent>(ILocalEventHandler<TEvent>)

Declaration
public void Unsubscribe<TEvent>(ILocalEventHandler<TEvent> handler) where TEvent : class
Parameters
Type Name Description
ILocalEventHandler<TEvent> handler
Type Parameters
Name Description
TEvent

Implements

IDistributedEventBus
IEventBus

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpDistributedEventBusExtensions.AsSupportsEventBoxes(IDistributedEventBus)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform