mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
14 lines
357 B
using Volo.Abp.DependencyInjection;
|
|
|
|
namespace Volo.Abp.EventBus
|
|
{
|
|
public class MySimpleEventDataHandler : IEventHandler<MySimpleEventData>, ISingletonDependency
|
|
{
|
|
public int TotalData { get; private set; }
|
|
|
|
public void HandleEvent(MySimpleEventData eventData)
|
|
{
|
|
TotalData += eventData.Value;
|
|
}
|
|
}
|
|
} |