C# Class YetAnotherRelogger.Helpers.Tools.General

Afficher le fichier Open project: sinterlkaas/YetAnotherRelogger

Méthodes publiques

Méthode Description
AgentKiller ( ) : void
DateSubtract ( System.DateTime date, bool seconds = true ) : double

DateSubtract ( long ticks, bool seconds = true ) : double

GetLocale ( string input ) : string
GetPriorityClass ( int number ) : ProcessPriorityClass

Get PriorityClass as shown in GUI

NumericOnly ( char c ) : bool
WildcardMatch ( String pattern, String input ) : bool

Method Details

AgentKiller() public static méthode

public static AgentKiller ( ) : void
Résultat void

DateSubtract() public static méthode

public static DateSubtract ( System.DateTime date, bool seconds = true ) : double
date System.DateTime DateTime to subtract from current datetime
seconds bool
Résultat double

DateSubtract() public static méthode

public static DateSubtract ( long ticks, bool seconds = true ) : double
ticks long Ticks to subtract from current datetime
seconds bool
Résultat double

GetLocale() public static méthode

public static GetLocale ( string input ) : string
input string
Résultat string

GetPriorityClass() public static méthode

Get PriorityClass as shown in GUI
public static GetPriorityClass ( int number ) : ProcessPriorityClass
number int GUI priority number
Résultat ProcessPriorityClass

NumericOnly() public static méthode

public static NumericOnly ( char c ) : bool
c char
Résultat bool

WildcardMatch() public static méthode

public static WildcardMatch ( String pattern, String input ) : bool
pattern String
input String
Résultat bool