NodeOutputAttribute.cs 483 B

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