SIPSorcery.UIHelper.AppendText C# (CSharp) Method

AppendText() public static method

public static AppendText ( System.Windows.Controls.TextBlock textBlock, string text ) : void
textBlock System.Windows.Controls.TextBlock
text string
return void
        public static void AppendText(TextBlock textBlock, string text)
        {
            if (textBlock.Dispatcher.CheckAccess())
            {
                textBlock.Text += text;
            }
            else
            {
                textBlock.Dispatcher.BeginInvoke(new SetTextBlockDelegate(AppendText), textBlock, text);
            }
        }