EnumBindAttribute.cs 287 B

123456789101112
  1. using System;
  2. namespace VCommon.Reflection
  3. {
  4. [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
  5. public class EnumBindAttribute : Attribute
  6. {
  7. public Type BindType { get; }
  8. public EnumBindAttribute(Type bindType) => BindType = bindType;
  9. }
  10. }