public IPositionManager Create()
        {
            var collectionName = Guid.NewGuid().ToString("N");
            var database       = MongoTestConfig.GetCleanTestDatabase();

            return(new MongoDbPositionManager(database, collectionName));
        }
示例#2
0
 protected IMongoDatabase GetCleanTestDatabase() => MongoTestConfig.GetCleanTestDatabase();