GitUI.FormProcess.DataReceivedCore C# (CSharp) Метод

DataReceivedCore() приватный Метод

private DataReceivedCore ( object sender, GitUI.UserControls.TextEventArgs e ) : void
sender object
e GitUI.UserControls.TextEventArgs
Результат void
        private void DataReceivedCore(object sender, TextEventArgs e)
        {
            if(e.Text.Contains("%") || e.Text.Contains("remote: Counting objects"))
                SetProgress(e.Text);
            else
            {
                const string ansiSuffix = "\u001B[K";
                string line = e.Text.Replace(ansiSuffix, "");

                if(ConsoleOutput.IsDisplayingFullProcessOutput)
                    OutputLog.AppendLine(line); // To the log only, display control displays it by itself
                else
                    AppendOutputLine(line); // Both to log and display control
            }

            DataReceived(sender, e);
        }