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