C# 클래스 No.Utilities

파일 보기 프로젝트 열기: hexafluoride/no

공개 메소드들

메소드 설명
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