EventEngineBaseT Class |
Namespace: FileHelpers
The EventEngineBaseT type exposes the following members.
Name | Description | |
---|---|---|
![]() | Encoding |
The encoding to Read and Write the streams.
Default is the system's current ANSI code page.
(Inherited from EngineBase.) |
![]() | ErrorManager | This is a common class that manages the errors of the library. (Inherited from EngineBase.) |
![]() | ErrorMode |
Indicates the behavior of the engine when it finds an error.
{Shortcut for )
(Inherited from EngineBase.) |
![]() | FooterText | The Read Footer in the last Read operation. If any. (Inherited from EngineBase.) |
![]() | HeaderText | The Read Header in the last Read operation. If any. (Inherited from EngineBase.) |
![]() | LineNumber | The current line number. (Inherited from EngineBase.) |
![]() | NewLineForWrite |
Newline string to be used when engine writes to file.
Default is the system's newline setting (System.Environment.NewLine).
(Inherited from EngineBase.) |
![]() | Options |
Allows you to change some record layout options at runtime
(Inherited from EngineBase.) |
![]() | RecordType | Returns the type of records handled by this engine. (Inherited from EngineBase.) |
![]() | TotalRecords | The total numbers of records in the last read/written file
(only works with whole read/write). (Inherited from EngineBase.) |
Name | Description | |
---|---|---|
![]() | GetFileHeader |
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.) |
Name | Description | |
---|---|---|
![]() | AfterReadRecord |
Called in read operations just after the record was created from a
record string.
|
![]() | AfterWriteRecord |
Called in write operations just after the record was converted to a
string.
|
![]() | BeforeReadRecord |
Called in read operations just before the record string is
translated to a record.
|
![]() | BeforeWriteRecord |
Called in write operations just before the record is converted to a
string to write it.
|
![]() | Progress | Event handler called to notify progress. (Inherited from EngineBase.) |