NodeConfig.cs 429 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. using Common.Config;
  3. using MongoDB.Bson.Serialization.Attributes;
  4. namespace Model
  5. {
  6. public class NodeConfig: AConfig
  7. {
  8. [BsonIgnoreIfNull]
  9. public List<string> Args { get; set; }
  10. [BsonIgnoreIfNull]
  11. public List<NodeConfig> SubConfigs { get; set; }
  12. }
  13. [Config]
  14. public class NodeCategory: ACategory<NodeConfig>
  15. {
  16. }
  17. }