public AircraftsCore(ILoader loader, INewKeeper newKeeper, INewLoader newLoader) { _loader = loader; _newKeeper = newKeeper; _newLoader = newLoader; _aircrafts = new AircraftCollection(); }
public PlanOpsCalculator(INewLoader newLoader, INewKeeper newKeeper, IAircraftsCore aircraftsCore, IFlightTrackCore flightTrackCore) { _newLoader = newLoader; _newKeeper = newKeeper; _aircraftsCore = aircraftsCore; _flightTrackCore = flightTrackCore; }
public DiscrepanciesCore(ILoader loader, INewLoader newLoader, IDirectiveCore directiveCore, IAircraftFlightCore aircraftFlightCore) { _loader = loader; _newLoader = newLoader; _directiveCore = directiveCore; _aircraftFlightCore = aircraftFlightCore; }
public NonRoutineJobCore(ICasEnvironment casEnvironment, IWorkPackageCore workPackageCore, INonRoutineJobDataAccess nonRoutineJobDataAccess, INewLoader newLoader) { _casEnvironment = casEnvironment; _workPackageCore = workPackageCore; _nonRoutineJobDataAccess = nonRoutineJobDataAccess; _newLoader = newLoader; }
public DirectiveCore(INewKeeper newKeeper, INewLoader newLoader, IKeeper keeper, ILoader loader, IItemsRelationsDataAccess itemsRelationsDataAccess) { _newKeeper = newKeeper; _newLoader = newLoader; _keeper = keeper; _loader = loader; _itemsRelationsDataAccess = itemsRelationsDataAccess; }
public MaintenanceCore(ICasEnvironment casEnvironment, INewLoader newLoader, INewKeeper newKeeper, IItemsRelationsDataAccess itemsRelationsDataAccess, IAircraftsCore aircraftsCore) { _casEnvironment = casEnvironment; _newLoader = newLoader; _newKeeper = newKeeper; _itemsRelationsDataAccess = itemsRelationsDataAccess; _aircraftsCore = aircraftsCore; }
public DocumentCore(ICasEnvironment casEnvironment, INewLoader newLoader, ILoader loader, IAircraftsCore aircraftsCore, INewKeeper newKeeper, IComponentCore componentCore) { _casEnvironment = casEnvironment; _newLoader = newLoader; _loader = loader; _aircraftsCore = aircraftsCore; _newKeeper = newKeeper; _componentCore = componentCore; }
/// <summary> /// Создает Сурвис закупок /// </summary> public PurchaseCore(ICasEnvironment casEnvironment, INewLoader newLoader, ILoader loader, IPackageCore packageService, INewKeeper newKeeper, IPerformanceCalculator performanceCalculator) { _casEnvironment = casEnvironment; _newLoader = newLoader; _loader = loader; _packageCore = packageService; _newKeeper = newKeeper; _performanceCalculator = performanceCalculator; }
public TransferRecordCore(INewLoader newLoader, INewKeeper newKeeper, IComponentCore componentCore, IAircraftsCore aircraftsCore, ICalculator calculator, IStoreCore storeCore, IFilesDataAccess filesDataAccess) { _newLoader = newLoader; _newKeeper = newKeeper; _componentCore = componentCore; _aircraftsCore = aircraftsCore; _calculator = calculator; _storeCore = storeCore; _filesDataAccess = filesDataAccess; }
/// <summary> /// Подключаемся к базе данных под указанной учетной записью и выбираем базу данных /// </summary> /// <param name="serverName"></param> /// <param name="userName"></param> /// <param name="pass"></param> /// <param name="database"></param> public void Connect(string serverName, string userName, string pass, string database) { ApiProvider.CheckAPIConnection(); var user = ApiProvider.GetUserAsync(userName, pass); if (user == null) { throw new Exception($"Invalid combination of login and password"); } IdentityUser = user; AuditRepository.WriteAsync(new Entities.User(user), AuditOperation.SignIn, user); _newLoader = new NewLoader(this); }
public MailSender(INewLoader loader) { _settings = loader.GetObject <SettingDTO, Settings>()?.GlobalSetting.MailSettings; }
public StockCalculator(ICasEnvironment casEnvironment, INewLoader newLoader, IComponentCore componentCore) { _casEnvironment = casEnvironment; _newLoader = newLoader; _componentCore = componentCore; }
public FlightTrackCore(INewLoader newLoader, ILoader loader, ICasEnvironment environment) { _newLoader = newLoader; _loader = loader; _environment = environment; }
public FilesDataAccess(INewLoader newLoader) { _newLoader = newLoader; }