Click or drag to resize

FileHelperEngineT Methods

The FileHelperEngineT generic type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAppendToFile(String, IEnumerableT)
Append an array of records to the specified file.
Public methodCode exampleAppendToFile(String, T)
Append a record to the specified file.
Public methodGetFileHeader
Builds a line with the name of the fields, for a delimited files it uses the same delimiter, for a fixed length field it writes the fields names separated with tabs
(Inherited from EngineBase.)
Public methodCode exampleReadFile(String)
Read a file and return an array of the contained records.
Public methodCode exampleReadFile(String, Int32)
Read a file and return an array of the contained records.
Public methodReadFileAsDT(String) Obsolete.
Read the records of the file and fill a DataTable with them
Public methodReadFileAsDT(String, Int32) Obsolete.
Read the records of the file and fill a DataTable with them
Public methodCode exampleReadFileAsList(String) Obsolete.
Read a file and return an array of the contained records.
Public methodCode exampleReadFileAsList(String, Int32) Obsolete.
Read a file and return an array of the contained records.
Public methodCode exampleReadStream(TextReader)
Read a Stream and return an array of the contained records.
Public methodCode exampleReadStream(TextReader, Int32)
Read a Stream and return an array of the contained records.
Public methodReadStreamAsDT(TextReader) Obsolete.
Read the records of the stream and fill a DataTable with them
Public methodReadStreamAsDT(TextReader, Int32) Obsolete.
Read the records of the stream and fill a DataTable with them
Public methodCode exampleReadStreamAsList Obsolete.
Read a Stream and return an array of the contained records.
Public methodReadString(String)
Read a String and return an array of the contained records.
Public methodReadString(String, Int32)
Read a String and return an array of the contained records.
Public methodReadStringAsDT(String) Obsolete.
Read the records of a string and fill a DataTable with them.
Public methodReadStringAsDT(String, Int32) Obsolete.
Read the records of a string and fill a DataTable with them.
Public methodReadStringAsList(String) Obsolete.
Read a String and return an array of the contained records.
Public methodReadStringAsList(String, Int32) Obsolete.
Read a String and return an array of the contained records.
Public methodCode exampleWriteFile(String, IEnumerableT)
Write an array of records to the specified file.
Public methodCode exampleWriteFile(String, IEnumerableT, Int32)
Write the specified number of records from the array to a file.
Public methodCode exampleWriteStream(TextWriter, IEnumerableT)
Write an array of records to the specified Stream.
Public methodCode exampleWriteStream(TextWriter, IEnumerableT, Int32)
Write the specified number of records in the array to the Stream.
Public methodWriteString(IEnumerableT)
Write an array of records to an String and return it.
Public methodWriteString(IEnumerableT, Int32)
Write an array of records to an String and return it.
Top
See Also