C# Class BrowserSelect.Program

Datei anzeigen Open project: zumoshi/BrowserSelect

Public Properties

Property Type Description
url string

Public Methods

Method Description
Args2Str ( List args ) : string
Args2Str ( string args ) : string
DoesDomainMatchPattern ( string domain, string domainToCheck ) : bool

Checks if a wildcard string matches a domain taken from http://madskristensen.net/post/wildcard-search-for-domains-in-c

DoesWildcardMatch ( string originalString, string searchString ) : bool

Performs a wildcard (*) search on any string.

EncodeParameterArgument ( string original ) : string

Encodes an argument for passing into a program taken from : http://stackoverflow.com/a/12364234/1461004

ProgramFilesx86 ( ) : string
time ( double unixTimeStamp ) : System.DateTime
time ( string unixTimeStamp ) : System.DateTime
time ( ) : double
time ( System.DateTime dateTime ) : double

Private Methods

Method Description
Main ( string args ) : void

Method Details

Args2Str() public static method

public static Args2Str ( List args ) : string
args List
return string

Args2Str() public static method

public static Args2Str ( string args ) : string
args string
return string

DoesDomainMatchPattern() public static method

Checks if a wildcard string matches a domain taken from http://madskristensen.net/post/wildcard-search-for-domains-in-c
public static DoesDomainMatchPattern ( string domain, string domainToCheck ) : bool
domain string
domainToCheck string
return bool

DoesWildcardMatch() public static method

Performs a wildcard (*) search on any string.
public static DoesWildcardMatch ( string originalString, string searchString ) : bool
originalString string
searchString string
return bool

EncodeParameterArgument() public static method

Encodes an argument for passing into a program taken from : http://stackoverflow.com/a/12364234/1461004
public static EncodeParameterArgument ( string original ) : string
original string The value that should be received by the program
return string

ProgramFilesx86() public static method

public static ProgramFilesx86 ( ) : string
return string

time() public static method

public static time ( double unixTimeStamp ) : System.DateTime
unixTimeStamp double
return System.DateTime

time() public static method

public static time ( string unixTimeStamp ) : System.DateTime
unixTimeStamp string
return System.DateTime

time() public static method

public static time ( ) : double
return double

time() public static method

public static time ( System.DateTime dateTime ) : double
dateTime System.DateTime
return double

Property Details

url public_oe static_oe property

public static string url
return string