C# Класс Deeply.Tools.SsisMetadataToClass.MetadataParser

MetadataParser class definition.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MetadataParser ( string text ) : System

Initializes a new instance of the MetadataParser class.

Parse ( ) : IEnumerable

Parses the supplied text into a sequence of SsisMetadata objects.

Parse ( string text ) : IEnumerable

Helper function to setup the parser and parse the supplied text.

Приватные методы

Метод Описание
ParseDataLine ( string columns ) : SsisMetadata

Helper method to parse a line of data and return a SsisMetadata object.

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.

Описание методов

MetadataParser() публичный Метод

Initializes a new instance of the MetadataParser class.
public MetadataParser ( string text ) : System
text string Text to parse.
Результат System

Parse() публичный Метод

Parses the supplied text into a sequence of SsisMetadata objects.
When the text cannot be parsed.
public Parse ( ) : IEnumerable
Результат IEnumerable

Parse() публичный статический Метод

Helper function to setup the parser and parse the supplied text.
When the text cannot be parsed.
public static Parse ( string text ) : IEnumerable
text string Text to parse.
Результат IEnumerable