DXVcs2Git.UI.ViewModels.BranchViewModel.CreateMergeRequest C# (CSharp) Méthode

CreateMergeRequest() public méthode

public CreateMergeRequest ( string title, string description, string user, string sourceBranch, string targetBranch ) : void
title string
description string
user string
sourceBranch string
targetBranch string
Résultat void
        public void CreateMergeRequest(string title, string description, string user, string sourceBranch, string targetBranch)
        {
            var mergeRequest = this.gitLabWrapper.CreateMergeRequest(Repository.Origin, Repository.Upstream, title, description, user, sourceBranch, targetBranch);
            //if (SupportsTesting && Repositories.Config.TestByDefault) {
            //    AddMergeRequestSyncInfo(true, false);
            //    mergeRequest = this.gitLabWrapper.UpdateMergeRequestAssignee(mergeRequest, Repository.RepoConfig.TestServiceName);
            //}
            MergeRequest = new MergeRequestViewModel(this, mergeRequest);
            RepositoriesViewModel.RaiseRefreshSelectedBranch();
        }