Пример #1
0
 /// <summary>
 /// Use a specific configuration instance instead of the default.
 /// </summary>
 /// <remarks>This is by no way thread safe and is only intended for use in the internal automated tests.</remarks>
 /// <param name="config"></param>
 public static void UseConfiguration(IMongoConfigurationMap config)
 {
     Configuration = config;
 }
Пример #2
0
 /// <summary>
 /// Use a specific configuration instance instead of the default.
 /// </summary>
 /// <remarks>This is by no way thread safe and is only intended for use in the internal automated tests.</remarks>
 /// <param name="config"></param>
 public static void UseConfiguration(IMongoConfigurationMap config)
 {
     Configuration = config;
 }