예제 #1
0
        async private Task <MergeRequest> applyModification(UpdateMergeRequestParameters parameters)
        {
            stopProcessingTimer();
            try
            {
                IMergeRequestEditor editor = getEditor();
                if (editor == null)
                {
                    return(null);
                }

                return(await editor.ModifyMergeRequest(parameters));
            }
            finally
            {
                startProcessingTimer();
            }
        }
        async private Task <MergeRequest> applyModification(UpdateMergeRequestParameters parameters)
        {
            disableProcessingTimer();
            try
            {
                IMergeRequestEditor editor = getEditor();
                if (editor == null)
                {
                    return(null);
                }

                return(await editor.ModifyMergeRequest(parameters));
            }
            finally
            {
                enableProcessingTimer();
                traceInformation("[AcceptMergeRequestForm] Modification applied");
            }
        }