AConfigComponent.cs 418 B

1234567891011121314151617
  1. using MongoDB.Bson.Serialization.Attributes;
  2. namespace Model
  3. {
  4. /// <summary>
  5. /// 每个Config的基类
  6. /// </summary>
  7. [BsonKnownTypes(typeof(ClientConfig))]
  8. [BsonKnownTypes(typeof(InnerConfig))]
  9. [BsonKnownTypes(typeof(OuterConfig))]
  10. [BsonKnownTypes(typeof(HttpConfig))]
  11. [BsonKnownTypes(typeof(DBConfig))]
  12. [BsonKnownTypes(typeof(RunServerConfig))]
  13. public abstract class AConfigComponent: Component
  14. {
  15. }
  16. }