public BranchService( IGitFetchService gitFetchService, IGitPushService gitPushService, IGitBranchService gitBranchService, IGitMergeService gitMergeService, IGitCommitService gitCommitService, IGitCheckoutService gitCheckoutService, ICommitsService commitsService, IProgressService progressService, IMessage message, WindowOwner owner, IRepositoryCommands repositoryCommands, Lazy <IRepositoryService> repositoryService, IStatusService statusService) { this.gitFetchService = gitFetchService; this.gitPushService = gitPushService; this.gitBranchService = gitBranchService; this.gitMergeService = gitMergeService; this.gitCommitService = gitCommitService; this.gitCheckoutService = gitCheckoutService; this.commitsService = commitsService; this.progress = progressService; this.message = message; this.owner = owner; this.repositoryCommands = repositoryCommands; this.repositoryService = repositoryService; this.statusService = statusService; }
public CommitsService( IMessage message, IRepositoryCommands repositoryCommands, Func <SetBranchPromptDialog> setBranchPromptDialogProvider, IGitCommitBranchNameService gitCommitBranchNameService, IDiffService diffService, ILinkService linkService, IRepositoryMgr repositoryMgr, IProgressService progressService, IStatusService statusService, IGitCommitService gitCommitService, IGitStatusService gitStatusService, Func < BranchName, IEnumerable <CommitFile>, string, bool, CommitDialog> commitDialogProvider) { this.commitDialogProvider = commitDialogProvider; this.gitCommitService = gitCommitService; this.gitStatusService = gitStatusService; this.message = message; this.repositoryCommands = repositoryCommands; this.setBranchPromptDialogProvider = setBranchPromptDialogProvider; this.gitCommitBranchNameService = gitCommitBranchNameService; this.diffService = diffService; this.linkService = linkService; this.repositoryMgr = repositoryMgr; this.progress = progressService; this.statusService = statusService; }
internal MainWindowViewModel( WorkingFolder workingFolder, WindowOwner owner, IRepositoryCommands repositoryCommands, IRemoteService remoteService, ICommitsService commitsService, ILatestVersionService latestVersionService, IStartInstanceService startInstanceService, IRecentReposService recentReposService, IGitInfoService gitInfoService, IMessage message, IMainWindowService mainWindowService, MainWindowIpcService mainWindowIpcService, RepositoryViewModel repositoryViewModel) { this.workingFolder = workingFolder; this.owner = owner; this.repositoryCommands = repositoryCommands; this.remoteService = remoteService; this.commitsService = commitsService; this.startInstanceService = startInstanceService; this.recentReposService = recentReposService; this.gitInfoService = gitInfoService; this.message = message; this.mainWindowService = mainWindowService; this.mainWindowIpcService = mainWindowIpcService; RepositoryViewModel = repositoryViewModel; workingFolder.OnChange += (s, e) => Notify(nameof(WorkingFolder)); latestVersionService.OnNewVersionAvailable += (s, e) => IsNewVersionVisible = true; latestVersionService.StartCheckForLatestVersion(); IsRepoView = true; }
public BranchViewModel( IBranchService branchService, IDiffService diffService, IThemeService themeService, IRepositoryCommands repositoryCommands) { this.branchService = branchService; this.diffService = diffService; this.themeService = themeService; this.repositoryCommands = repositoryCommands; this.showBranchCommand = Command <Branch>(repositoryCommands.ShowBranch); }
public CommandUpdateEmpleo(IRepositoryCommands <Empleo> repository, Func <IUnitOfWork> unitOfWork, IEmpleoRepositoryReadOnly repositoryRead, IBeneficiarioRepositoryReadOnly beneficiarioRepositoryRead, IProvideAllowedDaysForNewEmpleo providerDays, IEmpresaRepositoryReadOnly empresaRepositoryRead, ITipoDeEmpleoReadOnlyRepository tipoDeEmpleoReadOnlyRepository) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; _beneficiarioRepositoryRead = beneficiarioRepositoryRead; _providerDays = providerDays; _empresaRepositoryRead = empresaRepositoryRead; _tipoDeEmpleoReadOnlyRepository = tipoDeEmpleoReadOnlyRepository; }
public CommitViewModel( IBranchService branchService, IDiffService diffService, IThemeService themeService, IRepositoryCommands repositoryCommands, ICommitsService commitsService, ITagService tagService) { this.branchService = branchService; this.diffService = diffService; this.themeService = themeService; this.repositoryCommands = repositoryCommands; this.commitsService = commitsService; this.tagService = tagService; }
public ViewModelService( IBranchService branchService, IDiffService diffService, ICommitsService commitsService, ITagService tagService, IThemeService themeService, IMessage message, IRepositoryMgr repositoryMgr, IRepositoryCommands repositoryCommands, Func <BranchViewModel> branchViewModelProvider) { this.branchService = branchService; this.diffService = diffService; this.commitsService = commitsService; this.tagService = tagService; this.themeService = themeService; this.message = message; this.repositoryMgr = repositoryMgr; this.repositoryCommands = repositoryCommands; this.branchViewModelProvider = branchViewModelProvider; this.deleteBranchCommand = new Command <Branch>( branchService.DeleteBranchAsync, branchService.CanDeleteBranch, nameof(deleteBranchCommand)); }
public CommandInsertTipoEmpleo(IRepositoryCommands <TipoEmpleo> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { }
public CommandInsertVisita(IRepositoryCommands <Visita> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { }
public CommandInsertParentesco(IRepositoryCommands <Parentesco> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { }
public CommandUpdateMotivoDespido(IMotivoDespidoRepositoryReadOnly repositoryRead, IRepositoryCommands <MotivoDespido> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; }
public CommandUpdateActividadEconomica(IActividadEconomicaRepositoryReadOnly repositoryRead, IRepositoryCommands <ActividadEconomica> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; }
public BaseCommandHandler(IRepositoryCommands <TCommand> repository) { this.Repository = repository; }
public CommandUpdateVisita(IVisitaRepositoryReadOnly repositoryRead, IRepositoryCommands <Visita> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; }
protected CommandUpdateIdentity(IRepositoryCommands <T> repository, Func <IUnitOfWork> unitOfWork) { _repository = repository; _factory = unitOfWork; }
public CommandInsertMotivoDespido(IRepositoryCommands <MotivoDespido> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { }
public AddCommandHandler(IRepositoryCommands <TCommand> repository) : base(repository) { }
public CommandUpdateTipoEmpleo(ITipoDeEmpleoReadOnlyRepository repositoryRead, IRepositoryCommands <TipoEmpleo> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; }
public CommandInsertActividadEconomica(IRepositoryCommands <ActividadEconomica> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { }
public DeleteCommandHandler(IRepositoryCommands <TCommand> repository) : base(repository) { }
public CommandUpdateParentesco(IParentescoReadOnlyRepository repositoryRead, IRepositoryCommands <Parentesco> repository, Func <IUnitOfWork> unitOfWork) : base(repository, unitOfWork) { _repositoryRead = repositoryRead; }