ToBeProcessed.parseCsvHeader - c# class that parses a CSV header and builds an arraylist
$30-100 USD
Abgeschlossen
Veröffentlicht vor mehr als 12 Jahren
$30-100 USD
Bezahlt bei Lieferung
A **partial** class. It takes an input string (CSV header line format) into static method called parseCsvHeader. The method must split the header line up by "," and determine the [login to view URL] of the field on the class with the matching name. Both the name (string fieldname) and the type ([login to view URL] type) are to be stored into an object (class FieldDef) and added to an ArrayList static property called *header*. The objects are to be added in the order they appear in the header record.
## Deliverables
### Project: [login to view URL]
Namespace: AgentMangler
# Overview
A **partial** class. It takes an input string (CSV header line format) into static method called parseCsvHeader. The method must split the header line up by "," and determine the [login to view URL] of the field on the class with the matching name. Both the name (string fieldname) and the type ([login to view URL] type) are to be stored into an object (class FieldDef) and added to an ArrayList static property called *header*. The objects are to be added in the order they appear in the header record.
Every time the parseCsvHeader method is called the header ArrayList is to be cleared out. The parseCsvHeader method is static as this will not be run in a multi-threaded environment.
# Scope
The partial class [login to view URL]
Unit tests ([login to view URL]) that demonstrate:
Mocked objects are to be in a separate file [login to view URL]
FieldDef is to be mocked
Please see attached document for coding standards