C# Class Torshify.Shell.ConsoleEx

Mostrar archivo Open project: torshy/torshify

Public Methods

Method Description
BeginColorBlock ( ConsoleColor color ) : IDisposable
GetPassword ( ) : string
Indent ( int count ) : string
Truncate ( string source, int length ) : string
Write ( string text, ConsoleColor color = ConsoleColor.Gray ) : ConsoleExtensions
WriteLine ( string text, ConsoleColor color = ConsoleColor.Gray ) : ConsoleExtensions

Method Details

BeginColorBlock() public static method

public static BeginColorBlock ( ConsoleColor color ) : IDisposable
color ConsoleColor
return IDisposable

GetPassword() public static method

public static GetPassword ( ) : string
return string

Indent() public static method

public static Indent ( int count ) : string
count int
return string

Truncate() public static method

public static Truncate ( string source, int length ) : string
source string
length int
return string

Write() public static method

public static Write ( string text, ConsoleColor color = ConsoleColor.Gray ) : ConsoleExtensions
text string
color ConsoleColor
return ConsoleExtensions

WriteLine() public static method

public static WriteLine ( string text, ConsoleColor color = ConsoleColor.Gray ) : ConsoleExtensions
text string
color ConsoleColor
return ConsoleExtensions