public MongoEventStorage(MongoStorageAttribute mongoAttr, IServiceProvider svProvider) : base(svProvider.GetService <IOptions <MongoConfig> >()) { this.mongoAttr = mongoAttr; this.serviceProvider = svProvider; mongoConfig = svProvider.GetService <IOptions <MongoConfig> >(); }
public MongoEventStorage(IMongoStorage mongoStorage, ILogger <MongoEventStorage <K> > logger, MongoStorageAttribute mongoAttr) { this.mongoStorage = mongoStorage; this.mongoAttr = mongoAttr; this.logger = logger; }
public MongoEventStorage(MongoStorageAttribute mongoAttr) { this.mongoAttr = mongoAttr; }
public MongoEventStorage(MongoStorageAttribute mongoAttr, IServiceProvider svProvider) { this.mongoAttr = mongoAttr; this.serviceProvider = svProvider; }