C# Class FakeGPS.ConsoleHelper

Console Helper Class.
Show file Open project: juliankay/FakeGPS Class Usage Examples

Public Methods

Method Description
WriteError ( string message ) : void

Write an Error to the Console in Red then change the color back.

WriteHeader ( ) : void

Write the Header to the Console.

WriteHelp ( ) : void

Write the Help file to the Console.

WriteLatLong ( LatLong latLong ) : void

Write the LatLong to the Console.

Private Methods

Method Description
ReadHelpResource ( ) : IEnumerable

Read the Help File.

WriteDebugAttach ( ) : void
WriteDebugExit ( ) : void

Method Details

WriteError() public static method

Write an Error to the Console in Red then change the color back.
public static WriteError ( string message ) : void
message string The error message
return void

WriteHeader() public static method

Write the Header to the Console.
public static WriteHeader ( ) : void
return void

WriteHelp() public static method

Write the Help file to the Console.
public static WriteHelp ( ) : void
return void

WriteLatLong() public static method

Write the LatLong to the Console.
public static WriteLatLong ( LatLong latLong ) : void
latLong FakeGPS.Common.LatLong The .
return void