public MongoProjectionRepository(MongoClient client, string database, MongoEventStoreSetttings setttings) { if (client == null) { throw new ArgumentNullException(nameof(client)); } if (database == null) { throw new ArgumentNullException(nameof(database)); } if (setttings == null) { throw new ArgumentNullException(nameof(setttings)); } setttings.Validate(); Database = database; Setttings = setttings; Client = client; }
public MongoProjectionRepository(MongoClient client, string database, MongoEventStoreSetttings setttings) : base(client, database, setttings) { }