C# Class SolidworksAddinFramework.Wpf.LogViewer

A simple class for creating a log viewer. Call the static Log message.
Show file Open project: Weingartner/SolidworksAddinFramework Class Usage Examples

Public Methods

Method Description
ClearAll ( ) : void
CreateLogViewer ( ) : Task
Invoke ( System.Action a ) : void
Log ( LogEntry entry ) : void
Log ( string message ) : void
LogViewer ( ) : System
LogWithIndent ( int i, string message ) : void

Private Methods

Method Description
Init ( ) : IEnumerable

Method Details

ClearAll() public method

public ClearAll ( ) : void
return void

CreateLogViewer() public static method

public static CreateLogViewer ( ) : Task
return Task

Invoke() public static method

public static Invoke ( System.Action a ) : void
a System.Action
return void

Log() public static method

public static Log ( LogEntry entry ) : void
entry LogEntry
return void

Log() public static method

public static Log ( string message ) : void
message string
return void

LogViewer() public method

public LogViewer ( ) : System
return System

LogWithIndent() public static method

public static LogWithIndent ( int i, string message ) : void
i int
message string
return void