Interface IMemberMap
A class that can map parameter or property names to their MemberDescription instances.
Namespace: SpiceSharp.Reflection
Assembly: SpiceSharp.dll
Syntax
public interface IMemberMap
Properties
Comparer
Gets the comparer used to compare member names.
Declaration
IEqualityComparer<string> Comparer { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEqualityComparer<System.String> | The comparer. |
Members
Gets the members.
Declaration
IEnumerable<MemberDescription> Members { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<MemberDescription> | The members. |
Methods
Add(MemberDescription)
Adds a member description to the map.
Declaration
void Add(MemberDescription member)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberDescription | member | The member to add. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown if a member with the same name is already defined. |