C# Class TLBOT.DataManager.Extensions

ファイルを表示 Open project: marcussacana/TLBOT

Public Methods

Method Description
Escape ( string String ) : string
IsDialogue ( string String, int? Caution = null ) : bool
TimeoutStart ( Thread Thread, int Milliseconds ) : void
Translate ( Form Form, string TargetLanguage, Translator Client ) : void
Unescape ( string String ) : string
WaitForExit ( Thread Thread ) : void

Private Methods

Method Description
AppendArray ( Array Array, Item ) : T[]
AppendArray ( Array Array, Array Items ) : T[]
GetControlHierarchy ( Control root ) : IEnumerable
IsRunning ( Thread Thread ) : bool
PercentOf ( string String, int Value ) : double
Translate ( string String, string SourceLanguage, string TargetLanguage, Translator Client ) : string
TranslateMassive ( Array Strings, string SourceLanguage, string TargetLanguage, Translator Client ) : string[]
TranslateMultithread ( Array Strings, string SourceLanguage, string TargetLanguage, Translator Client, Action ProgressChanged = null ) : string[]

Method Details

Escape() public static method

public static Escape ( string String ) : string
String string
return string

IsDialogue() public static method

public static IsDialogue ( string String, int? Caution = null ) : bool
String string
Caution int?
return bool

TimeoutStart() public static method

public static TimeoutStart ( Thread Thread, int Milliseconds ) : void
Thread Thread
Milliseconds int
return void

Translate() public static method

public static Translate ( Form Form, string TargetLanguage, Translator Client ) : void
Form Form
TargetLanguage string
Client Translator
return void

Unescape() public static method

public static Unescape ( string String ) : string
String string
return string

WaitForExit() public static method

public static WaitForExit ( Thread Thread ) : void
Thread Thread
return void