AEventAttribute.cs 402 B

1234567891011121314151617
  1. using System;
  2. namespace Common.Event
  3. {
  4. [AttributeUsage(AttributeTargets.Class)]
  5. public abstract class AEventAttribute : Attribute
  6. {
  7. public int Type { get; private set; }
  8. public int Order { get; private set; }
  9. protected AEventAttribute(int type, int order)
  10. {
  11. this.Type = type;
  12. this.Order = order;
  13. }
  14. }
  15. }