Beispiel #1
0
 public SQLDBUpdater(UpdateConfiguration configuration, INavigationManager navigation, IGuiDispatcher gui, BaseParameters.ParametersService parametersService, IApplicationInfo applicationInfo, DbConnection connection, MySqlConnectionStringBuilder connectionStringBuilder, IUserService userService, IUnitOfWorkFactory unitOfWorkFactory, IInteractiveMessage interactiveMessage)
 {
     this.configuration           = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.navigation              = navigation ?? throw new ArgumentNullException(nameof(navigation));
     this.gui                     = gui ?? throw new ArgumentNullException(nameof(gui));
     this.parametersService       = parametersService ?? throw new ArgumentNullException(nameof(parametersService));
     this.connection              = connection ?? throw new ArgumentNullException(nameof(connection));
     this.connectionStringBuilder = connectionStringBuilder ?? throw new ArgumentNullException(nameof(connectionStringBuilder));
     this.userService             = userService ?? throw new ArgumentNullException(nameof(userService));
     this.unitOfWorkFactory       = unitOfWorkFactory ?? throw new ArgumentNullException(nameof(unitOfWorkFactory));
     this.interactiveMessage      = interactiveMessage ?? throw new ArgumentNullException(nameof(interactiveMessage));
 }
 public SerialNumberService(BaseParameters.ParametersService parametersService)
 {
     SerialNumber = parametersService.Dynamic.serial_number;
 }