C# Class Platform.Helpers.ConsoleHelpers

Mostra file Open project: Konard/LinksPlatform

Public Methods

Method Description
GetOrReadArgument ( int index ) : string
GetOrReadArgument ( int index, string readMessage ) : string
HandleCancellation ( ) : CancellationTokenSource
PressAnyKeyToContinue ( ) : void

Private Methods

Method Description
Debug ( string format ) : void
DisableIgnoredExceptionsAutoPrint ( ) : void
EnableIgnoredExceptionsAutoPrint ( ) : void
OnIgnoredException ( object sender, Exception e ) : void

Method Details

GetOrReadArgument() public static method

public static GetOrReadArgument ( int index ) : string
index int
return string

GetOrReadArgument() public static method

public static GetOrReadArgument ( int index, string readMessage ) : string
index int
readMessage string
return string

HandleCancellation() public static method

public static HandleCancellation ( ) : CancellationTokenSource
return System.Threading.CancellationTokenSource

PressAnyKeyToContinue() public static method

public static PressAnyKeyToContinue ( ) : void
return void