C# Class YetAnotherRelogger.Helpers.Tools.General

Exibir arquivo Open project: sinterlkaas/YetAnotherRelogger

Public Methods

Method 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 method

public static AgentKiller ( ) : void
return void

DateSubtract() public static method

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

DateSubtract() public static method

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

GetLocale() public static method

public static GetLocale ( string input ) : string
input string
return string

GetPriorityClass() public static method

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

NumericOnly() public static method

public static NumericOnly ( char c ) : bool
c char
return bool

WildcardMatch() public static method

public static WildcardMatch ( String pattern, String input ) : bool
pattern String
input String
return bool