public RegisterSupplier(IDatabase database, IAutoServiceFactory factory, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.factory = factory ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public IssueInvoices(IDatabase database, IValidateCore coreValidator, IValidateModel modelValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.modelValidator = modelValidator ?? throw new ArgumentNullException(); this.writer = writer; }
public ListWarehouseItems(IDatabase database, IValidateCore coreValidator, IWriter writer, IStockManager stockManager) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); this.stockManager = stockManager; }
public CreateBankAccount(IDatabase database, IAutoServiceFactory factory, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.factory = factory ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public HireEmployee(IAutoServiceFactory autoServiceFactory, IDatabase database, IValidateCore coreValidator, IWriter writer, IValidateModel modelValidator) { this.database = database ?? throw new ArgumentNullException(); this.autoServiceFactory = autoServiceFactory ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); this.modelValidator = modelValidator ?? throw new ArgumentNullException(); }
public AddVehicleToClient(IDatabase database, IWriter writer, IValidateCore coreValidator, IAutoServiceFactory factory, IValidateModel modelValidator) { this.database = database ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.modelValidator = modelValidator ?? throw new ArgumentNullException(); this.factory = factory ?? throw new ArgumentNullException(); }
public SellStockToClientVehicle(IAutoServiceFactory autoServiceFactory, IDatabase database, IValidateCore coreValidator, IWriter writer, IStockManager stockManager, IValidateModel modelValidator) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); this.stockManager = stockManager ?? throw new ArgumentNullException(); this.autoServiceFactory = autoServiceFactory ?? throw new ArgumentNullException(); this.modelValidator = modelValidator ?? throw new ArgumentNullException(); }
public DeleteClientCommand(ISportscardFactory sportscardFactory, IClientService clientService, IValidateCore coreValidator) : base(sportscardFactory) { Guard.WhenArgument(clientService, "Client service can not be null!").IsNull().Throw(); Guard.WhenArgument(coreValidator, "Validator can not be null!").IsNull().Throw(); this.clientService = clientService; this.coreValidator = coreValidator; }
public WithdrawCashFromBank(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public FireEmployee(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public IssueInvoices(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public ListWarehouseItems(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.stockManager = processorLocator.GetProcessor <IStockManager>() ?? throw new ArgumentNullException(); }
public RegisterSupplier(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.factory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public SellServiceToClientVehicle(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.autoServiceFactory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); }
//Constructor public OrderStockToWarehouse(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.autoServiceFactory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.stockManager = processorLocator.GetProcessor <IStockManager>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); }
public DepositCashInBank(IDatabase database, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public ShowEmployees(IDatabase database, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public EditPostPriceCommand(IPostServices postService, IUserServices userService, IValidateCore coreValidator) { this.postService = postService ?? throw new ArgumentNullException(); this.userService = userService ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); }
public RemoveClient(IDatabase database, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
//Constructor public ChangeSupplierName(IDatabase database, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public EditPostDescriptionCommand(IPostServices postService, IUserServices userService, IValidateCore validateCore) { this.validateCore = validateCore ?? throw new ArgumentNullException(); this.postService = postService ?? throw new ArgumentNullException(); this.userService = userService ?? throw new ArgumentNullException(); }
public WithdrawCashFromBank(IDatabase database, IValidateCore coreValidator, IWriter writer) { this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); this.writer = writer ?? throw new ArgumentNullException(); }
public RemoveEmployeeResponsibility(IWriter writer, IDatabase database, IValidateCore coreValidator) { this.writer = writer ?? throw new ArgumentNullException(); this.database = database ?? throw new ArgumentNullException(); this.coreValidator = coreValidator ?? throw new ArgumentNullException(); }