C# Класс DataMigration.XmlDocParser

Xml document parser. Crude, dead-simple, puts-the-entire-file-in-memory parser. Do not use for feeds of any size or complexity. There are lots of features that can be added to this one for small feeds that will be added on an in-demand basis, e.g. xslt transformations as a property, change ProcessingHelper so it can use xPath fragments as value selectors, etc., blah, blah. None of that for now.
Наследование: IParser
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Does nothing; this implementation has no native resources to release.

NextRow ( ) : IList

Returns the next row of data, and advances the CurrentRow.

Open ( string filePath ) : void

Open the file at the specified Path. Applies the row selector xPath to get out 'rows', (e.g. xPath elements).

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

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

Does nothing; this implementation has no native resources to release.
public Dispose ( ) : void
Результат void

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

Returns the next row of data, and advances the CurrentRow.
public NextRow ( ) : IList
Результат IList

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

Open the file at the specified Path. Applies the row selector xPath to get out 'rows', (e.g. xPath elements).
public Open ( string filePath ) : void
filePath string File path.
Результат void