1using System.Collections.Generic;
66 public NamedDictionary(IDictionary<TKey, TValue> Dictionary, IEqualityComparer<TKey> Comparer)
67 : base(Dictionary, Comparer)
77 : base(Capacity, Comparer)
89 foreach (KeyValuePair<string, IElement> P
in Dictionary)
95 Result.LocalName = P.Value.AssociatedObjectValue?.ToString() ??
string.Empty;
100 Result.Namespace = P.Value.AssociatedObjectValue?.ToString() ??
string.Empty;
104 Result[P.Key] = P.Value.AssociatedObjectValue;
A Named dictionary is a dictionary, with a local name and a namespace. Use it to return content that ...
string LocalName
Local Name of dictionary.
static NamedDictionary< string, object > ToNamedDictionary(IEnumerable< KeyValuePair< string, IElement > > Dictionary)
Creates a Named Dictionary from a script object ex-nihilo
NamedDictionary(int Capacity, IEqualityComparer< TKey > Comparer)
A Named dictionary is a dictionary, with a local name and a namespace.
NamedDictionary(int Capacity)
A Named dictionary is a dictionary, with a local name and a namespace.
NamedDictionary(IDictionary< TKey, TValue > Dictionary, IEqualityComparer< TKey > Comparer)
A Named dictionary is a dictionary, with a local name and a namespace.
NamedDictionary()
A Named dictionary is a dictionary, with a local name and a namespace.
NamedDictionary(IDictionary< TKey, TValue > Dictionary)
A Named dictionary is a dictionary, with a local name and a namespace.
string Namespace
Namespace of dictionary.
NamedDictionary(IEqualityComparer< TKey > Comparer)
A Named dictionary is a dictionary, with a local name and a namespace.
NamedDictionary(string LocalName, string Namespace)
A Named dictionary is a dictionary, with a local name and a namespace.