C# Class NRack.Helpers.HeaderHash

Inheritance: Hash
Datei anzeigen Open project: kevinswiber/NRack Class Usage Examples

Public Methods

Method Description
Add ( string key, dynamic value ) : void
ContainsKey ( string key ) : bool
Create ( Hash hash = null ) : HeaderHash
Delete ( string key ) : dynamic
Each ( string>.Action action ) : void
HeaderHash ( Hash hash = null ) : System
Merge ( Hash other ) : HeaderHash
Remove ( string key ) : dynamic
Replace ( Hash other ) : HeaderHash
ToHash ( ) : Hash
this ( string key ) : dynamic

Private Methods

Method Description
GetHeaderValue ( dynamic value ) : string

Method Details

Add() public method

public Add ( string key, dynamic value ) : void
key string
value dynamic
return void

ContainsKey() public method

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

Create() public static method

public static Create ( Hash hash = null ) : HeaderHash
hash Hash
return HeaderHash

Delete() public method

public Delete ( string key ) : dynamic
key string
return dynamic

Each() public method

public Each ( string>.Action action ) : void
action string>.Action
return void

HeaderHash() public method

public HeaderHash ( Hash hash = null ) : System
hash Hash
return System

Merge() public method

public Merge ( Hash other ) : HeaderHash
other Hash
return HeaderHash

Remove() public method

public Remove ( string key ) : dynamic
key string
return dynamic

Replace() public method

public Replace ( Hash other ) : HeaderHash
other Hash
return HeaderHash

ToHash() public method

public ToHash ( ) : Hash
return Hash

this() public method

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