public RemoveUserCommandBuilder(IEntitiesForRemovingProvider <Guid, User> userIdsProvider) { this.userIdsProvider = userIdsProvider ?? throw new ArgumentNullException($"{nameof(userIdsProvider)} should not be null"); }
public RemovePromotionCommandBuilder(IEntitiesForRemovingProvider <Guid, Promotion> promotionIdsProvider) { this.promotionIdsProvider = promotionIdsProvider ?? throw new ArgumentNullException($"{nameof(promotionIdsProvider)} should not be null"); }
public RemoveDataCommiter(MongoDbConnection mongoDbConnection, IEntitiesForRemovingProvider <TKey, TEntity> entitiesProvider) { this.mongoDbConnection = mongoDbConnection ?? throw new ArgumentNullException($"{nameof(mongoDbConnection)} should not be null"); this.entitiesProvider = entitiesProvider ?? throw new ArgumentNullException($"{nameof(entitiesProvider)} should not be null"); }
public RemoveDataCommiter(IgniteAdapter igniteAdapter, IEntitiesForRemovingProvider <TKey, TEntity> entityIdsProvider) { this.igniteAdapter = igniteAdapter ?? throw new ArgumentNullException($"{nameof(igniteAdapter)} should not be null"); this.entityIdsProvider = entityIdsProvider ?? throw new ArgumentNullException($"{nameof(entityIdsProvider)} should not be null"); }