Méthode | Description | |
---|---|---|
MetadataParser ( string text ) : System |
Initializes a new instance of the MetadataParser class.
|
|
Parse ( ) : IEnumerable |
Parses the supplied text into a sequence of
|
|
Parse ( string text ) : IEnumerable |
Helper function to setup the parser and parse the supplied text.
|
Méthode | Description | |
---|---|---|
ParseDataLine ( string columns ) : |
Helper method to parse a line of data and return a
|
|
SplitColumns ( string line ) : string[] |
Splits a line into columns.
|
|
SplitLines ( string text ) : string[] |
Helper method to split the text into lines and check that there are at least two.
|
|
ValidateHeader ( string header ) : void |
Helper method to validate the head contains the correct columns.
|
public MetadataParser ( string text ) : System | ||
text | string | Text to parse. |
Résultat | System |
public static Parse ( string text ) : IEnumerable |
||
text | string | Text to parse. |
Résultat | IEnumerable |