NodeInputAttribute.cs 458 B

123456789101112131415161718
  1. using System;
  2. namespace ETModel
  3. {
  4. [AttributeUsage(AttributeTargets.Field)]
  5. public class NodeInputAttribute: NodeFieldBaseAttribute
  6. {
  7. public NodeInputAttribute(string desc, Type _envKeyType): base(desc, null, _envKeyType)
  8. {
  9. // if (_envKeyType == null)
  10. // {
  11. // Log.Error($"{desc}_envKeyType can't be null");
  12. // return;
  13. // }
  14. this.envKeyType = _envKeyType;
  15. }
  16. }
  17. }