Class EventHandlerInvoker_Tests.MyDistributedEventHandler
Inheritance
object
EventHandlerInvoker_Tests.MyDistributedEventHandler
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EventBus
Assembly: Volo.Abp.EventBus.Tests.dll
Syntax
public class EventHandlerInvoker_Tests.MyDistributedEventHandler : IDistributedEventHandler<EventHandlerInvoker_Tests.MyEventData>, IDistributedEventHandler<EntityCreatedEto<EventHandlerInvoker_Tests.MyEntity>>, IEventHandler
Constructors
MyDistributedEventHandler()
Declaration
public MyDistributedEventHandler()
Properties
EntityCreatedCount
Declaration
public int EntityCreatedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MyEventDataCount
Declaration
public int MyEventDataCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
HandleEventAsync(EntityCreatedEto<MyEntity>)
Declaration
public Task HandleEventAsync(EntityCreatedEto<EventHandlerInvoker_Tests.MyEntity> eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityCreatedEto<EventHandlerInvoker_Tests.MyEntity> | eventData |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
HandleEventAsync(MyEventData)
Declaration
public Task HandleEventAsync(EventHandlerInvoker_Tests.MyEventData eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| EventHandlerInvoker_Tests.MyEventData | eventData |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |