AttributeReflectorMap Class
C#
public sealed class AttributeReflectorMap : Dictionary<XmlQualifiedName, Reflector<string>>
- Inheritance
- Implements
-
IDictionary<Xml
Qualified , Reflector<string>> ICollection<KeyName Value <XmlPair Qualified , Reflector<string>>> IReadName Only <XmlDictionary Qualified , Reflector<string>> IReadName Only <KeyCollection Value <XmlPair Qualified , Reflector<string>>> IEnumerable<KeyName Value <XmlPair Qualified , Reflector<string>>> IDictionary ICollection IEnumerable IDeserializationName Callback ISerializable
Properties
Comparer | (Inherited from Dictionary<TKey, TValue>) |
Count | (Inherited from Dictionary<TKey, TValue>) |
Capacity | (Inherited from Dictionary<TKey, TValue>) |
this[TKey] | (Inherited from Dictionary<TKey, TValue>) |
Keys | (Inherited from Dictionary<TKey, TValue>) |
Values | (Inherited from Dictionary<TKey, TValue>) |
Methods
Methods Detail
Of(IEnumerable<AttributeParameter>)
C#
public static IReadOnlyDictionary<XmlQualifiedName, Reflector<string>> Of(IEnumerable<AttributeParameter> attributeParameters)
Parameters
- attributeParameters
-
IEnumerable<Attribute
Parameter >
The collection of AttributeParameter instances that represent constructor parameters already processed to be associated with XML attributes (originating from a class attributed with ForElementAttribute).
Returns
A new read-only dictionary. Each key in the map is the qualified name (an XmlQualifiedName) of an XML attribute, specified as an argument to ForAttributeAttribute. The value associated with the key is the object that dispatches the attribute value to the constructor parameter.