IEventData.cs 460 B

1234567891011121314151617181920
  1. using System;
  2. namespace Abp.Events.Bus
  3. {
  4. /// <summary>
  5. /// Defines interface for all Event data classes.
  6. /// </summary>
  7. public interface IEventData
  8. {
  9. /// <summary>
  10. /// The time when the event occured.
  11. /// </summary>
  12. DateTime EventTime { get; set; }
  13. /// <summary>
  14. /// The object which triggers the event (optional).
  15. /// </summary>
  16. object EventSource { get; set; }
  17. }
  18. }