public ArgumentRepository(IArgumentQuery query, IEventStore store) { Guard.AgainstNull(query, nameof(query)); Guard.AgainstNull(store, nameof(store)); _query = query; _store = store; }
public ArgumentsController(IServiceBus bus, IDatabaseContextFactory databaseContextFactory, IDataRowMapper dataRowMapper, IArgumentQuery argumentQuery) { Guard.AgainstNull(bus, nameof(bus)); Guard.AgainstNull(databaseContextFactory, nameof(databaseContextFactory)); Guard.AgainstNull(dataRowMapper, nameof(dataRowMapper)); Guard.AgainstNull(argumentQuery, nameof(argumentQuery)); _bus = bus; _databaseContextFactory = databaseContextFactory; _dataRowMapper = dataRowMapper; _argumentQuery = argumentQuery; }
public ArgumentHandler(IArgumentQuery query) { Guard.AgainstNull(query, nameof(query)); _query = query; }