/// <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; }
/// <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; }
/// <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; }
/// <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; }