AEventAttribute.cs 289 B

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