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.
abp/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/MySimpleTransientEventHandl...

21 lines
447 B

using System;
namespace Volo.Abp.EventBus
{
public class MySimpleTransientEventHandler : IEventHandler<MySimpleEventData>, IDisposable
{
public static int HandleCount { get; set; }
public static int DisposeCount { get; set; }
public void HandleEvent(MySimpleEventData eventData)
{
++HandleCount;
}
public void Dispose()
{
++DisposeCount;
}
}
}