C# Class No.Utilities

Afficher le fichier Open project: hexafluoride/no

Méthodes publiques

Méthode Description
GetDataRoot ( ) : string
GetRelativePath ( string absolute, string child ) : string
GetString ( byte data ) : string
IsRunningOnMono ( ) : bool
LogMessage ( string message ) : void
PrintColored ( string message ) : void

Prints a color-coded string. Color codes are as follows: %0: black %7: gray %a: green %c: red %f: white(for emphasis) %e: yellow

PrintColoredLine ( string message ) : void

Prints a color-coded string. Color codes are as follows: %0: black %7: gray %a: green %c: red %f: white(for emphasis) %e: yellow

ProperMove ( string source, string dest, string root = "" ) : void
RunAndPipe ( string file, string args, string data ) : void
SetClipboard ( string text ) : void

Method Details

GetDataRoot() public static méthode

public static GetDataRoot ( ) : string
Résultat string

GetRelativePath() public static méthode

public static GetRelativePath ( string absolute, string child ) : string
absolute string
child string
Résultat string

GetString() public static méthode

public static GetString ( byte data ) : string
data byte
Résultat string

IsRunningOnMono() public static méthode

public static IsRunningOnMono ( ) : bool
Résultat bool

LogMessage() public static méthode

public static LogMessage ( string message ) : void
message string
Résultat void

PrintColored() public static méthode

Prints a color-coded string. Color codes are as follows: %0: black %7: gray %a: green %c: red %f: white(for emphasis) %e: yellow
public static PrintColored ( string message ) : void
message string The message to print
Résultat void

PrintColoredLine() public static méthode

Prints a color-coded string. Color codes are as follows: %0: black %7: gray %a: green %c: red %f: white(for emphasis) %e: yellow
public static PrintColoredLine ( string message ) : void
message string The message to print
Résultat void

ProperMove() public static méthode

public static ProperMove ( string source, string dest, string root = "" ) : void
source string
dest string
root string
Résultat void

RunAndPipe() public static méthode

public static RunAndPipe ( string file, string args, string data ) : void
file string
args string
data string
Résultat void

SetClipboard() public static méthode

public static SetClipboard ( string text ) : void
text string
Résultat void