C# Class Castle.MonoRail.Framework.Helpers.DictHelper

Helper used to create IDictionary instances
Inheritance: AbstractHelper
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Create ( ) : IDictionary

Creates a dictionary from specified arguments.

CreateDict ( ) : IDictionary

Creates an IDictionary with entries infered from the arguments. CreateDict( "style=display: none;", "selected" )

FromNameValueCollection ( NameValueCollection collection ) : IDictionary

Creates a dictionary fros a name value collection.

Method Details

Create() public static method

Creates a dictionary from specified arguments.
public static Create ( ) : IDictionary
return IDictionary

CreateDict() public method

Creates an IDictionary with entries infered from the arguments. CreateDict( "style=display: none;", "selected" )
public CreateDict ( ) : IDictionary
return IDictionary

FromNameValueCollection() public method

Creates a dictionary fros a name value collection.
public FromNameValueCollection ( NameValueCollection collection ) : IDictionary
collection System.Collections.Specialized.NameValueCollection The collection.
return IDictionary