C# Class Skybrud.Umbraco.GridData.GridDictionary

Dictionary representing a configuration for an element in the Umbraco Grid.
Inheritance: Skybrud.Umbraco.GridData.Json.GridJsonObject
Show file Open project: skybrud/Skybrud.Umbraco.GridData

Private Properties

Property Type Description
GridDictionary System

Public Methods

Method Description
ContainsKey ( string key ) : bool

Gets whether the specified key is contained in the dictionary.

Parse ( Newtonsoft.Json.Linq.JObject obj ) : GridDictionary

Parses a dictionary from the specified obj.

this ( string key ) : string

Gets the value of an item with the specified key.

Private Methods

Method Description
GridDictionary ( string>.Dictionary config, Newtonsoft.Json.Linq.JObject obj ) : System

Method Details

ContainsKey() public method

Gets whether the specified key is contained in the dictionary.
public ContainsKey ( string key ) : bool
key string The key.
return bool

Parse() public static method

Parses a dictionary from the specified obj.
public static Parse ( Newtonsoft.Json.Linq.JObject obj ) : GridDictionary
obj Newtonsoft.Json.Linq.JObject The instance of JObject to be parsed.
return GridDictionary

this() public method

Gets the value of an item with the specified key.
public this ( string key ) : string
key string The key of the dictionary item.
return string