EventAttribute.cs 250 B

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