BiliRanking.WPF.View.VideoClip.Output C# (CSharp) Method

Output() private method

private Output ( object sendProcess, DataReceivedEventArgs output ) : void
sendProcess object
output System.Diagnostics.DataReceivedEventArgs
return void
        private void Output(object sendProcess, DataReceivedEventArgs output)
        {
            if (!String.IsNullOrEmpty(output.Data))
            {
                Debug.WriteLine(output.Data);
                textBlockProcessing.Dispatcher.BeginInvoke(
                new Action(
                delegate
                {
                    textBlockProcessing.Text = output.Data;
                }));
            }
        }