Microsoft.AspNet.SignalR.Client.WP8.Samples.TextBlockWriter.WriteLine C# (CSharp) Méthode

WriteLine() public méthode

public WriteLine ( string value ) : void
value string
Résultat void
        public override void WriteLine(string value)
        {            
            _context.Post(delegate
            {
                if (_text.Text.Length > 500)
                {
                    _text = CreateNew();
                    _stackPanel.Children.Add(_text);
                }

                if (_text.Text.Length > 0)
                {
                    _text.Text = _text.Text + Environment.NewLine + value;
                }
                else
                {
                    _text.Text = value;
                }                
            }, state: null);
        }

Same methods

TextBlockWriter::WriteLine ( string format, object arg0 ) : void
TextBlockWriter::WriteLine ( string format, object arg0, object arg1 ) : void