AConfigComponent.cs 344 B

123456789101112131415
  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(RunServerConfig))]
  11. public abstract class AConfigComponent: Component
  12. {
  13. }
  14. }