AEventAttribute.cs 273 B

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