Пример #1
0
 public GiveModule(ICurrentOwner currentOwner, IItemRepository itemRepository, IOverviewService overviewService, ITelemetryService telemetryService)
 {
     _currentOwner     = currentOwner;
     _itemRepository   = itemRepository;
     _overviewService  = overviewService;
     _telemetryService = telemetryService;
 }
Пример #2
0
 public OverviewController(
     IOperationDataService operationDataService,
     ILoanOperationDataService clientLoan,
     IOperationOverviewModelRepository operationOverviewModelRepository,
     IOverviewService overviewService,
     ICatalogService catalogService)
 {
     _operationDataService             = operationDataService;
     _clientLoan                       = clientLoan;
     _operationOverviewModelRepository = operationOverviewModelRepository;
     _overviewService                  = overviewService;
     _catalogService                   = catalogService;
 }
        public static IOverviewService <Overview> GetJobSeekerOverview()
        {
            IOverviewService <SkillSmart.Dto.Overview> serviceObj = null;

            switch (sectionHandler.ConnectionStringName)
            {
            case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new OverviewService(DatabaseFactory.CreateMongoDatabase());
                break;

            default: serviceObj = new OverviewService(DatabaseFactory.CreateMongoDatabase());
                break;
            }
            return(serviceObj);
        }
        public ServerWizardController(IServerWizard attachedView)
        {
            _fileSystemService = new FileSystemService();
            _overviewService   = new OverviewService();
            _localService      = new LocalInformationService();

            _attachedView = attachedView;
            _attachedView.Page1Activated             += AttachedViewPage1Activated;
            _attachedView.Page1SelectedFolderChanged += AttachedViewPage1SelectedFolderChanged;
            _attachedView.Page1ServernameChanged     += AttachedViewPage1ServernameChanged;
            _attachedView.Page2Activated             += AttachedViewPage2Activated;
            _attachedView.Page2ServerpathChanged     += AttachedViewPage2ServerpathChanged;
            _attachedView.Page3Activated             += AttachedViewPage3Activated;
            _attachedView.CreationCanceled           += AttachedViewCreationCanceled;
        }
Пример #5
0
        public MainViewController(IMainForm attachedForm)
        {
            _fileSystemService  = new FileSystemService();
            _overviewService    = new OverviewService();
            _versionInfoService = new VersionInformationService();

            _attachedForm = attachedForm;
            _attachedForm.ServerFolderSelected          += AttachedFormServerFolderSelected;
            _attachedForm.VersionNumberSelectionChanged += AttachedFormVersionNumberSelectionChanged;
            _attachedForm.RequestZipImport       += AttachedFormRequestZipImport;
            _attachedForm.RequestNewServerWizard += AttachedFormRequestNewServerWizard;

            if (!string.IsNullOrEmpty(Settings.Default.LastUsedServerPath))
            {
                AttachedFormServerFolderSelected(null, Settings.Default.LastUsedServerPath);
            }
        }
Пример #6
0
        public ZipWizardController(IZipWizard attachedView, string activeServer, Overview activeOverview)
        {
            _activeServer   = activeServer;
            _activeOverview = activeOverview;

            _zipUpdateService   = new ZipUpdateFileService();
            _versionInfoService = new VersionInformationService();
            _overviewService    = new OverviewService();
            _fileService        = new FileSystemService();

            _attachedView = attachedView;
            _attachedView.Page1SelectedFileChanged += AttachedViewPage1SelectedFileChanged;

            _attachedView.Page1Activated += _attachedView_Page1Activated;
            _attachedView.Page2Activated += AttachedViewPage2Activated;
            _attachedView.Page3Activated += AttachedViewPage3Activated;
            _attachedView.Page4Activated += AttachedViewPage4Activated;
        }
Пример #7
0
 public OverviewController(IOverviewService overviewService)
 {
     _overviewService = overviewService;
 }
 public TreeViewsController(IOverviewService overviewService, IUser user)
 {
     m_overviewService = overviewService;
     m_user            = user;
 }
Пример #9
0
 public OverviewController()
 {
     _service = new OverviewService(AlunoRepository, TurmaRepository, AulaRepository);
 }
Пример #10
0
 public OverviewController(IOverviewService service)
 {
     Service = service;
 }
 public OverviewController()
 {
     _service = new OverviewService(AlunoRepository,TurmaRepository,AulaRepository);
 }