public SearchController(ISolutionService solutionService, IUtilityService utilityService,
     ISolutionTypeService solutionTypeService,
     ISearchKeyService searchKeyService)
 {
     _solutionService = solutionService;
     _solutionTypeService = solutionTypeService;
     _searchKeyService = searchKeyService;
     _utilityService = utilityService;
 }
 public RegisterController(ISolutionService solutionService, ISolutionTypeService solutionTypeService,
     ISearchKeyService searchKeyService, ISnippetService snippetService,
     IProgrammingLanguageService languageService, IUtilityService utilityService)
 {
     _solutionService = solutionService;
     _snippetService = snippetService;
     _solutionTypeService = solutionTypeService;
     _searchKeyService = searchKeyService;
     _utilityService = utilityService;
     _languageService = languageService;
 }
 public SolutionController(IUnitOfWork unitOfWork, ISolutionService solutionService,
     IProductService productService, IUserService userService,
     ISettingService settingService, IGalleryService galleryService, IGalleryDetailService galleryDetailService,
     ISolutionProductService solutionProductService)
 {
     this._unitOfWork = unitOfWork;
     this._solutionService = solutionService;
     this._productService = productService;
     this._userService = userService;
     this._settingService = settingService;
     this._galleryService = galleryService;
     this._galleryDetailService = galleryDetailService;
     this._solutionProductService = solutionProductService;
 }
Example #4
0
 public HomeController(IUnitOfWork unitOfWork, ICategoryService categoryService,
     IBannerService bannerService, IEmailQueueService emailQueueService,
     IEmailTemplateService emailTemplateService, IContentService contentService,
     IProductService productService, ISolutionService solutionService)
 {
     this._unitOfWork = unitOfWork;
     this._categoryService = categoryService;
     this._bannerService = bannerService;
     this._emailQueueService = emailQueueService;
     this._emailTemplateService = emailTemplateService;
     this._contactService = contentService;
     this._productService = productService;
     this._solutionService = solutionService;
 }
 public CommissionCalculationController(IWorkContext workContext,
     ISolutionBPCalculationService solBPCalService, IProductType1ConfigService productType1ConfigService,
     ISolutionFeatureConfigService solutionFeatureConfigService, ISolutionService solutionService,
     IConfigFeeService configFeeService, IBusinessPartnerService bpService,
     IRepository<LoanSubmission> loanSubmissionRepository, ILoanSubmissionService loanSubmissionService)
 {
     this._workContext = workContext;
     this._solBPCalService = solBPCalService;
     this._productType1ConfigService = productType1ConfigService;
     this._solutionFeatureConfigService = solutionFeatureConfigService;
     this._solutionService = solutionService;
     this._configFeeService = configFeeService;
     this._bpService = bpService;
     this._loanSubmissionRepository = loanSubmissionRepository;
     this._loanSubmissionService = loanSubmissionService;
 }
 public CompetitionService(ICodeCompiler codeCompiler, IChallengeService challengeService, IPlayerService playerService, ISolutionService solutionService)
 {
     _codeCompiler     = codeCompiler;
     _challengeService = challengeService;
     _playerService    = playerService;
     _solutionService  = solutionService;
 }
 public void Initialize()
 {
     this.solutionService = Mock.Create <ISolutionService>();
     this.viewModel       = new ProjectNavigatorViewModel(this.solutionService);
 }
        public TeamMergeViewModel2019(ITeamService teamService, IMergeOperation mergeOperation, IConfigManager configManager, ILogger logger, ISolutionService solutionService)
        {
            _logger = logger;

            TeamMergeCommandsViewModel = new TeamMergeCommonCommandsViewModel(teamService, mergeOperation, configManager, logger, solutionService, SetBusyWhileExecutingAsync);

            ViewChangesetDetailsCommand = new RelayCommand(ViewChangeset, CanViewChangeset);

            Title = Resources.TeamMerge;
        }
Example #9
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="guid"></param>
        public CreateSolutionViewModel(ISolutionService solutionService) : base(Guid.NewGuid().ToString())
        {
            this.solutionService = solutionService;

            this.SelectFolderButtonCommand = new DelegateCommand(ExecuteSelectFolderButtonCommand, CanExecuteSelectFolderButtonCommand);
        }
 public SolutionController(ISolutionService solutionService)
 {
     _solutionService = solutionService;
 }
Example #11
0
        public TeamMergeCommonCommandsViewModel(ITeamService teamService, IMergeOperation mergeOperation, IConfigManager configManager, ILogger logger, ISolutionService solutionService, Func <Func <Task>, Task> setBusyWhileExecutingAsync)
        {
            _teamService                = teamService;
            _mergeOperation             = mergeOperation;
            _configManager              = configManager;
            _logger                     = logger;
            _solutionService            = solutionService;
            _setBusyWhileExecutingAsync = setBusyWhileExecutingAsync;

            MergeCommand           = new AsyncRelayCommand(MergeAsync, CanMerge);
            FetchChangesetsCommand = new AsyncRelayCommand(FetchChangesetsAsync, CanFetchChangesets);
            SelectWorkspaceCommand = new RelayCommand <Workspace>(SelectWorkspace);
            OpenSettingsCommand    = new RelayCommand(OpenSettings);
            SwitchTargetAndSourceBranchesCommand = new RelayCommand(SwitchTargetAndSourceBranches, CanSwitchTargetAndSourceBranches);

            SourcesBranches = new ObservableCollection <string>();
            TargetBranches  = new ObservableCollection <string>();
            ProjectNames    = new ObservableCollection <string>();

            Changesets         = new ObservableCollection <Changeset>();
            SelectedChangesets = new ObservableCollection <Changeset>();
        }
Example #12
0
 public SidebarViewComponent(ISolutionService solutionService, IUnitService unitService, IProjectService projectService)
 {
     _solutionService = solutionService;
     _unitService     = unitService;
     _projectService  = projectService;
 }
Example #13
0
 public HomeController(IQuestionService questionService, ISolutionService solutionService)
 {
     QuestionService = questionService;
     SolutionService = solutionService;
 }
Example #14
0
 public TFVCService(IVersionControlService versionControlService, ISolutionService solutionService)
 {
     _versionControlService = versionControlService;
     _solutionService       = solutionService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateSolution"/> class.
 /// This constructor is used for unit testing only.
 /// </summary>
 /// <param name="solutionService">The solution facade.</param>
 public CreateSolution(ISolutionService solutionService)
 {
     this.solutionService = solutionService;
 }
Example #16
0
 public NewSolutionViewModel()
 {
     solutionService = new SolutionService();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetSolutionZip"/> class.
 /// </summary>
 /// This constructor is used for unit testing only.
 /// <param name="solutionService">Solution service.</param>
 public GetSolutionZip(ISolutionService solutionService)
 {
     this.solutionService = solutionService;
 }
Example #18
0
 public ProjectNavigatorViewModel(ISolutionService solutionService)
 {
     this.SolutionService          = solutionService;
     SolutionService.ProjectAdded += new EventHandler <ProjectEventArgs>(SolutionService_ProjectAdded);
 }
 public HomeController(ISolutionService solutionService)
 {
     _solutionService = solutionService;
 }
 public SolutionsController(ISolutionService solutionService, IMapper mapper)
 {
     _solutionService = solutionService;
     _mapper          = mapper;
 }