C# Class strICT.InFlow.AppWFM.Lib.DConsole

Mostra file Open project: InFlowBPM/InFlow-BPMS

Public Methods

Method Description
Print ( string message ) : void

Simple write

Print ( string message, ConsoleColor color ) : void

Write line with given color

PrintDone ( ) : void

Print [Done] in green

PrintEmptyLines ( ) : void

Write empty line

PrintEmptyLines ( int numberOfLines ) : void

Write empty lines

PrintFailed ( ) : void

Print [Failed] in red

PrintLine ( string message ) : void

Simple write line

PrintList ( List list, string listname ) : void

Prints a list of string

ReadInt ( int max ) : int

Read int between 0 und max

ReadLine ( ) : string

ReadLine in color magenta

Method Details

Print() public static method

Simple write
public static Print ( string message ) : void
message string
return void

Print() public static method

Write line with given color
public static Print ( string message, ConsoleColor color ) : void
message string
color ConsoleColor
return void

PrintDone() public static method

Print [Done] in green
public static PrintDone ( ) : void
return void

PrintEmptyLines() public static method

Write empty line
public static PrintEmptyLines ( ) : void
return void

PrintEmptyLines() public static method

Write empty lines
public static PrintEmptyLines ( int numberOfLines ) : void
numberOfLines int Number of empty Lines
return void

PrintFailed() public static method

Print [Failed] in red
public static PrintFailed ( ) : void
return void

PrintLine() public static method

Simple write line
public static PrintLine ( string message ) : void
message string
return void

PrintList() public static method

Prints a list of string
public static PrintList ( List list, string listname ) : void
list List list entries
listname string list name
return void

ReadInt() public static method

Read int between 0 und max
public static ReadInt ( int max ) : int
max int max int value
return int

ReadLine() public static method

ReadLine in color magenta
public static ReadLine ( ) : string
return string