AttributeReflectorMap Class

The map of an attribute name to the object that dispatches a string value to a constructor argument.

C#
public sealed class AttributeReflectorMap : Dictionary<XmlQualifiedName, Reflector<string>>
Inheritance
Implements

Properties

Methods

Methods Detail

Of(IEnumerable<AttributeParameter>)

Returns a new read-only dictionary of an attribute name to the object.

C#
public static IReadOnlyDictionary<XmlQualifiedName, Reflector<string>> Of(IEnumerable<AttributeParameter> attributeParameters)

Parameters

attributeParameters
IEnumerable<AttributeParameter>

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.