C# Class QueryParameters, PSR-PSQ

ファイルを表示 Open project: unhcr/PSR-PSQ Class Usage Examples

Public Methods

Method Description
AddItem ( string key, string value ) : void
AddSet ( string key, SortedSet value ) : void
Alternative ( string key, string item, string trueResult, string falseResult ) : string
CommaSeparatedList ( string key ) : string
ContainsEmptyKey ( string key ) : bool
ContainsItem ( string key, string item ) : bool
ContainsKey ( string key ) : bool
QueryParameters ( ) : System
QueryParameters ( StateBag viewState ) : System
QueryParameters ( string key, SortedSet value ) : System
QueryParameters ( string key, string value ) : System
QuotedCommaSeparatedList ( string key ) : string
RemoveItem ( string key, string value ) : void
RemoveSet ( string key ) : void
RestoreFromViewState ( StateBag viewState ) : void
SaveToViewState ( StateBag viewState ) : void
ToString ( ) : string
this ( string key ) : SortedSet

Method Details

AddItem() public method

public AddItem ( string key, string value ) : void
key string
value string
return void

AddSet() public method

public AddSet ( string key, SortedSet value ) : void
key string
value SortedSet
return void

Alternative() public method

public Alternative ( string key, string item, string trueResult, string falseResult ) : string
key string
item string
trueResult string
falseResult string
return string

CommaSeparatedList() public method

public CommaSeparatedList ( string key ) : string
key string
return string

ContainsEmptyKey() public method

public ContainsEmptyKey ( string key ) : bool
key string
return bool

ContainsItem() public method

public ContainsItem ( string key, string item ) : bool
key string
item string
return bool

ContainsKey() public method

public ContainsKey ( string key ) : bool
key string
return bool

QueryParameters() public method

public QueryParameters ( ) : System
return System

QueryParameters() public method

public QueryParameters ( StateBag viewState ) : System
viewState StateBag
return System

QueryParameters() public method

public QueryParameters ( string key, SortedSet value ) : System
key string
value SortedSet
return System

QueryParameters() public method

public QueryParameters ( string key, string value ) : System
key string
value string
return System

QuotedCommaSeparatedList() public method

public QuotedCommaSeparatedList ( string key ) : string
key string
return string

RemoveItem() public method

public RemoveItem ( string key, string value ) : void
key string
value string
return void

RemoveSet() public method

public RemoveSet ( string key ) : void
key string
return void

RestoreFromViewState() public method

public RestoreFromViewState ( StateBag viewState ) : void
viewState StateBag
return void

SaveToViewState() public method

public SaveToViewState ( StateBag viewState ) : void
viewState StateBag
return void

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( string key ) : SortedSet
key string
return SortedSet