Class MySimpleDistributedSingleInstanceEventHandler
Inheritance
object
MySimpleDistributedSingleInstanceEventHandler
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.Distributed
Assembly: Volo.Abp.EventBus.Tests.dll
Syntax
public class MySimpleDistributedSingleInstanceEventHandler : IDistributedEventHandler<MySimpleEventData>, IDistributedEventHandler<EntityCreatedEto<MySimpleEventData>>, IDistributedEventHandler<MySimpleEto>, IEventHandler, ITransientDependency
Constructors
MySimpleDistributedSingleInstanceEventHandler(ICurrentTenant)
Declaration
public MySimpleDistributedSingleInstanceEventHandler(ICurrentTenant currentTenant)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurrentTenant | currentTenant |
Properties
TenantId
Declaration
public static Guid? TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid? |
Methods
HandleEventAsync(EntityCreatedEto<MySimpleEventData>)
Declaration
public Task HandleEventAsync(EntityCreatedEto<MySimpleEventData> eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityCreatedEto<MySimpleEventData> | eventData |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
HandleEventAsync(MySimpleEto)
Declaration
public Task HandleEventAsync(MySimpleEto eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| MySimpleEto | eventData |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
HandleEventAsync(MySimpleEventData)
Declaration
public Task HandleEventAsync(MySimpleEventData eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| MySimpleEventData | eventData |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |