using MongoDB.Bson.Serialization.Attributes; namespace Model { /// /// 每个Config的基类 /// [BsonKnownTypes(typeof (ClientConfig))] [BsonKnownTypes(typeof (InnerConfig))] [BsonKnownTypes(typeof (OuterConfig))] public abstract class AConfigComponent: Component { } }