Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoStorageOperations"/> class.
 /// </summary>
 public MongoStorageOperations(IStorage storage, MongoData mongoData, Tracer tracer, NakoConfiguration nakoConfiguration)
 {
     this.data          = mongoData;
     this.configuration = nakoConfiguration;
     this.tracer        = tracer;
     this.storage       = storage;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoBuilder"/> class.
 /// </summary>
 public MongoBuilder(Tracer tracer, MongoData data, NakoConfiguration nakoConfiguration)
     : base(tracer)
 {
     this.tracer        = tracer;
     this.mongoData     = data;
     this.configuration = nakoConfiguration;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoBuilder"/> class.
 /// </summary>
 public MongoBuilder(ILogger <MongoBuilder> logger, IStorage data, IOptions <NakoConfiguration> nakoConfiguration)
     : base(logger)
 {
     this.log           = logger;
     this.mongoData     = (MongoData)data;
     this.configuration = nakoConfiguration.Value;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongoStorageOperations"/> class.
 /// </summary>
 public MongoStorageOperations(IStorage storage, ILogger <MongoStorageOperations> logger, IOptions <NakoConfiguration> configuration, SyncConnection syncConnection)
 {
     this.data           = (MongoData)storage;
     this.configuration  = configuration.Value;
     this.log            = logger;
     this.syncConnection = syncConnection;
     this.storage        = storage;
 }