C# Class BetterMembership.Extensions.NameValueCollectionExtension

Datei anzeigen Open project: TheCodeKing/BetterMembership.Net

Public Methods

Method Description
ContainsKey ( this collection, string key ) : bool
GetBoolean ( this collection, string key, bool defaultValue = false ) : bool
GetInteger ( this collection, string key, int defaultValue ) : int
GetString ( this collection, string key, string defaultValue = null ) : string

Method Details

ContainsKey() public static method

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

GetBoolean() public static method

public static GetBoolean ( this collection, string key, bool defaultValue = false ) : bool
collection this
key string
defaultValue bool
return bool

GetInteger() public static method

public static GetInteger ( this collection, string key, int defaultValue ) : int
collection this
key string
defaultValue int
return int

GetString() public static method

public static GetString ( this collection, string key, string defaultValue = null ) : string
collection this
key string
defaultValue string
return string