A collection that holds member names.
- Namespace
- CsvHelper
.Configuration - Interfaces
-
- IEnumerable
<string>
- IEnumerable
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IEnumerable<string>"]
Type["MemberNameCollection"]
class Type type-node
Syntax
public class MemberNameCollection : IEnumerable<string>
Properties
Name | Property Type | Summary |
---|---|---|
Count | int |
Gets the count.
|
Names | List |
Gets the raw list of names without
the prefix being prepended.
|
Prefix | string |
Gets the prefix to use for each name.
|
this[int] | string |
Gets the name at the given index. If a prefix is set,
it will be prepended to the name.
|
Methods
Name | Return Value | Summary |
---|---|---|
Add |
void |
Adds the given name to the collection.
|
AddRange |
void |
Adds a range of names to the collection.
|
Clear |
void |
Clears all names from the collection.
|
GetEnumerator |
IEnumerator |
Returns an enumerator that iterates through the collection.
|