C# Class withSIX.Steam.Core.Extensions.Extensions

Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
ContainsKey ( this This, string key ) : bool
GetKeyValue ( this This ) : KeyValue
GetKeyValue ( this This, IEnumerable pars ) : KeyValue
Remove ( this This, string key ) : void
ToUnixTimestamp ( this value ) : int

Converts a given DateTime into a Unix timestamp

UnixTimeToDateTime ( this text ) : System.DateTime

Method Details

ContainsKey() public static method

public static ContainsKey ( this This, string key ) : bool
This this
key string
return bool

GetKeyValue() public static method

public static GetKeyValue ( this This ) : KeyValue
This this
return KeyValue

GetKeyValue() public static method

public static GetKeyValue ( this This, IEnumerable pars ) : KeyValue
This this
pars IEnumerable
return KeyValue

Remove() public static method

public static Remove ( this This, string key ) : void
This this
key string
return void

ToUnixTimestamp() public static method

Converts a given DateTime into a Unix timestamp
public static ToUnixTimestamp ( this value ) : int
value this Any DateTime
return int

UnixTimeToDateTime() public static method

public static UnixTimeToDateTime ( this text ) : System.DateTime
text this
return System.DateTime