Click or drag to resize

EngineBase Class

Abstract Base class for the engines of the library: FileHelperEngine and FileHelperAsyncEngine
Inheritance Hierarchy

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public abstract class EngineBase

The EngineBase type exposes the following members.

Properties
  NameDescription
Public propertyEncoding
The encoding to Read and Write the streams. Default is the system's current ANSI code page.
Public propertyErrorManager
This is a common class that manages the errors of the library.
Public propertyErrorMode
Indicates the behavior of the engine when it finds an error. {Shortcut for )
Public propertyFooterText
The Read Footer in the last Read operation. If any.
Public propertyHeaderText
The Read Header in the last Read operation. If any.
Public propertyLineNumber
The current line number.
Public propertyNewLineForWrite
Newline string to be used when engine writes to file. Default is the system's newline setting (System.Environment.NewLine).
Public propertyOptions
Allows you to change some record layout options at runtime
Public propertyRecordType
Returns the type of records handled by this engine.
Public propertyTotalRecords
The total numbers of records in the last read/written file (only works with whole read/write).
Top
Methods
  NameDescription
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
Top
Events
  NameDescription
Public eventProgress
Event handler called to notify progress.
Top
See Also