public static MongoDBServerConnectionWrapper GetInstance() { if (_instance == null) { lock (_locker) { if (_instance == null) { _instance = new MongoDBServerConnectionWrapper(); } } } return(_instance); }
public static MongoDBServerConnectionWrapper GetInstance() { if (_instance == null) { lock (_locker) { if (_instance == null) { _instance = new MongoDBServerConnectionWrapper(); } } } return _instance; }
public ProxyDataProvider() { _serverWrapper = MongoDBServerConnectionWrapper.GetInstance(); }