MemberMapCollection Class
A collection that holds MemberMap's.
Namespace
CsvHelper.Configuration
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IList<MemberMap>"] Type["MemberMapCollection"] class Type type-node

Syntax

[DebuggerDisplay("Count = {list.Count}")]
public class MemberMapCollection : IList<MemberMap>

Attributes

Type Description
DebuggerDisplayAttribute

Constructors

Name Summary
MemberMapCollection() Initializes a new instance of the MemberMapCollection class.
MemberMapCollection(IComparer<MemberMap>) Initializes a new instance of the MemberMapCollection class.

Properties

Name Property Type Summary
Count int
Gets the number of elements contained in the System.Collections.Generic.ICollection`1.
IsReadOnly bool
Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
this[int] MemberMap
Gets or sets the element at the specified index.

Methods

Name Return Value Summary
Add(MemberMap) void
Adds an item to the System.Collections.Generic.ICollection`1.
AddMembers(ClassMap) void
Adds the members from the mapping. This will recursively traverse the mapping tree and add all members for reference maps.
AddRange(ICollection<MemberMap>) void
Adds a range of items to the System.Collections.Generic.ICollection`1.
Clear() void
Removes all items from the System.Collections.Generic.ICollection`1.
Contains(MemberMap) bool
Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
CopyTo(MemberMap[], int) void
Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
Find(MemberInfo) MemberMap
Finds the MemberMap using the given member.
Find<T>(Expression<Func<T, object>>) MemberMap
Finds the MemberMap using the given member expression.
GetEnumerator() IEnumerator<MemberMap>
Returns an enumerator that iterates through the collection.
IndexOf(MemberMap) int
Determines the index of a specific item in the System.Collections.Generic.IList`1.
Insert(int, MemberMap) void
Inserts an item to the System.Collections.Generic.IList`1 at the specified index.
Remove(MemberMap) bool
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
RemoveAt(int) void
Removes the System.Collections.Generic.IList`1 item at the specified index.