Example #1
0
        protected override void OnViewLoaded(object view)
        {
            _view = (IOutputView)view;
            _view.SetText(StringBuilder.ToString());
            _view.ScrollToEnd();

            if (view is OutputView outputView)
            {
                outputView.Loaded   += OnLoaded;
                outputView.Unloaded += OnUnloaded;
            }
        }
Example #2
0
        protected override void OnViewLoaded(object view)
        {
            _view = (IOutputView)view;
            if (_view == null)
            {
                throw new InvalidCastException();
            }

            _view.SetText(_stringBuilder.ToString());
            _view.ScrollToEnd();

            base.OnViewLoaded(view);
        }
Example #3
0
        protected override void OnViewLoaded(object view)
        {
            _view = (IOutputView)view;
            _view.SetText(StringBuilder.ToString());
            _view.ScrollToEnd();

            if (view is OutputView outputView)
            {
                outputView.Loaded   += OnLoaded;
                outputView.Unloaded += OnUnloaded;
            }

            LogWatcher.EnableRaisingEvents = true;
        }
Example #4
0
 protected override void OnViewLoaded(object view)
 {
     _view = (IOutputView)view;
     _view.ScrollToEnd();
 }
Example #5
0
 protected override void OnViewLoaded(object view)
 {
     _view = (IOutputView) view;
     _view.SetText(_stringBuilder.ToString());
     _view.ScrollToEnd();
 }
Example #6
0
 protected override void OnViewLoaded(object view)
 {
     _view = (IOutputView)view;
     _view.SetText(_stringBuilder.ToString());
     _view.ScrollToEnd();
 }
Example #7
0
 protected override void OnViewLoaded(object view)
 {
     _view = (IOutputView) view;
     _view.ScrollToEnd();
 }