예제 #1
0
 public static void Configure(IDocumentConfig config)
 {
     ServicesContainer.AddScoped <MongoDbServices>((sp) =>
     {
         return(new MongoDbServices(config));
     });
 }
예제 #2
0
 public MongoDbManager(IDocumentConfig config)
 {
     Config = (MongoDbConfig)config;
 }
예제 #3
0
 public MongoDbServices(IDocumentConfig Config)
 {
     this.Config = Config;
 }