![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that can be encoded both as JSON or XML. More...
Public Member Functions | |
NamedDictionary () | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (string LocalName, string Namespace) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (IDictionary< TKey, TValue > Dictionary) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (IEqualityComparer< TKey > Comparer) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (int Capacity) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (IDictionary< TKey, TValue > Dictionary, IEqualityComparer< TKey > Comparer) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
NamedDictionary (int Capacity, IEqualityComparer< TKey > Comparer) | |
A Named dictionary is a dictionary, with a local name and a namespace. More... | |
Static Public Member Functions | |
static NamedDictionary< string, object > | ToNamedDictionary (IEnumerable< KeyValuePair< string, IElement > > Dictionary) |
Creates a Named Dictionary from a script object ex-nihilo More... | |
Properties | |
string | LocalName [get, set] |
Local Name of dictionary. More... | |
string | Namespace [get, set] |
Namespace of dictionary. More... | |
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that can be encoded both as JSON or XML.
TKey | Key Type |
TValue | Value Type |
Definition at line 12 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | ) |
A Named dictionary is a dictionary, with a local name and a namespace.
Definition at line 17 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | string | LocalName, |
string | Namespace | ||
) |
A Named dictionary is a dictionary, with a local name and a namespace.
LocalName | Local Name |
Namespace | Namespace |
Definition at line 27 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | IDictionary< TKey, TValue > | Dictionary | ) |
A Named dictionary is a dictionary, with a local name and a namespace.
Dictionary | Dictionary with items. |
Definition at line 38 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | IEqualityComparer< TKey > | Comparer | ) |
A Named dictionary is a dictionary, with a local name and a namespace.
Comparer | Comparer |
Definition at line 47 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | int | Capacity | ) |
A Named dictionary is a dictionary, with a local name and a namespace.
Capacity | Initial Capacity. |
Definition at line 56 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | IDictionary< TKey, TValue > | Dictionary, |
IEqualityComparer< TKey > | Comparer | ||
) |
A Named dictionary is a dictionary, with a local name and a namespace.
Dictionary | Dictionary with items. |
Comparer | Comparer |
Definition at line 66 of file NamedDictionary.cs.
Waher.Content.NamedDictionary< TKey, TValue >.NamedDictionary | ( | int | Capacity, |
IEqualityComparer< TKey > | Comparer | ||
) |
A Named dictionary is a dictionary, with a local name and a namespace.
Capacity | Initial Capacity. |
Comparer | Comparer |
Definition at line 76 of file NamedDictionary.cs.
|
static |
Creates a Named Dictionary from a script object ex-nihilo
Dictionary | Script object. |
Definition at line 85 of file NamedDictionary.cs.
|
getset |
Local Name of dictionary.
Definition at line 115 of file NamedDictionary.cs.
|
getset |
Namespace of dictionary.
Definition at line 120 of file NamedDictionary.cs.