C# Класс No.Utilities

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetDataRoot() публичный статический Метод

public static GetDataRoot ( ) : string
Результат string

GetRelativePath() публичный статический Метод

public static GetRelativePath ( string absolute, string child ) : string
absolute string
child string
Результат string

GetString() публичный статический Метод

public static GetString ( byte data ) : string
data byte
Результат string

IsRunningOnMono() публичный статический Метод

public static IsRunningOnMono ( ) : bool
Результат bool

LogMessage() публичный статический Метод

public static LogMessage ( string message ) : void
message string
Результат void

PrintColored() публичный статический Метод

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
Результат void

PrintColoredLine() публичный статический Метод

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
Результат void

ProperMove() публичный статический Метод

public static ProperMove ( string source, string dest, string root = "" ) : void
source string
dest string
root string
Результат void

RunAndPipe() публичный статический Метод

public static RunAndPipe ( string file, string args, string data ) : void
file string
args string
data string
Результат void

SetClipboard() публичный статический Метод

public static SetClipboard ( string text ) : void
text string
Результат void