C# Class Open.Core.UI.Controls.OutputLogViewModel

An output display log.
This view-model is automatically constructed by the OutputLog control (view first).
Inheritance: ViewModelBase
Mostra file Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
OutputLogViewModel ( IOutput writer, OutputLog control ) : System

Protected Methods

Method Description
OnDisposed ( ) : void

Private Methods

Method Description
Clear ( ) : void
GetBackground ( IOutputLine e ) : System.Windows.Media.Brush
HandleWrittenTo ( object sender, OutputEventArgs e ) : void
InsertBreak ( ) : void
OnShowTimeStampChanged ( ) : void
ScrollToBottom ( ) : void
ToText ( IOutputLine line ) : string
UpdateLineMargin ( ) : void
UpdateVisualState ( ) : void

Updates the visual state of the control.

Write ( IOutputLine e ) : void

Method Details

OnDisposed() protected method

protected OnDisposed ( ) : void
return void

OutputLogViewModel() public method

public OutputLogViewModel ( IOutput writer, OutputLog control ) : System
writer IOutput
control OutputLog
return System