Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

MultiRecordEngine Members

MultiRecordEngine overview

Public Instance Constructors

MultiRecordEngine Overloaded. Initializes a new instance of the MultiRecordEngine class.

Public Instance Properties

Encoding (inherited from FileHelpers.EngineBase)The encoding to Read and Write the streams.
ErrorManager (inherited from FileHelpers.EngineBase)This is a common class that manage the errors of the library.
FooterText (inherited from FileHelpers.EngineBase)The read footer in the last read operation. If any.
HeaderText (inherited from FileHelpers.EngineBase)The read header in the last read operation. If any.
LastRecordContains the last Record read by the ReadNext method.
LineNumber (inherited from FileHelpers.EngineBase)The current line number.
RecordSelector The Selector used by the engine in Read operations to determine the Type to use.
RecordType (inherited from FileHelpers.EngineBase)Returns the type of records handled by this engine.
TotalRecords (inherited from FileHelpers.EngineBase)The total numbers of records in the last read/written file (only works with whole read/write).

Public Instance Methods

AppendToFileOverloaded. Append a record to the specified file.
BeginAppendToFileOpen a file to be appended at the end.
BeginReadFile Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginReadStream Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginReadString Method used to use this engine in Async mode. Work together with ReadNext. (Remember to call Close after read the data)
BeginWriteFileOpen a file for write operations. If exist the engine override it. You can use WriteNext or WriteNexts to write records.
BeginWriteStreamSet the stream to be used in the WriteNext operation.
Close Close the underlining Readers and Writers. (if any)
Flush Save all the buffered data for write to the disk. Useful to long opened async engines that wants to save pending values or for engines used for logging.
ReadFile Read a File and returns the records.
ReadNext Reads the next record of a file opened with the BeginReadFile or BeginReadStream method.
ReadNexts Reads the specified number of records from a file or stream opened with the BeginReadFile or BeginReadStream method.
ReadStream Read a Stream and return an array of the contained records.
ReadString Read a String and return an array of the contained records.
SetProgressHandler (inherited from FileHelpers.EngineBase)Overloaded. Set the handler to the engine used to notify progress into the operations.
WriteFileOverloaded. Write an array of records to the specified file.
WriteNextWrite the next record to a file or stream opened with BeginWriteFile, BeginWriteStream or BeginAppendToFile method.
WriteNextsWrite the nexts records to a file or stream opened with BeginWriteFile, BeginWriteStream or BeginAppendToFile method.
WriteStreamOverloaded. Write the records to a file
WriteStringOverloaded. Write an array of records to an String and return it.

Public Instance Events

AfterReadRecordCalled in read operations just after the record was created from a record string.
AfterWriteRecordCalled in write operations just after the record was converted to a string.
BeforeReadRecordCalled in read operations just before the record string is translated to a record.
BeforeWriteRecordCalled in write operations just before the record is converted to a string to write it.

Explicit Interface Implementations

IDisposable.Dispose Release Resources
IEnumerable.GetEnumeratorAllows to loop record by record in the engine

See Also

MultiRecordEngine Class | FileHelpers Namespace | Quick Start Guide | Class Diagram | Examples of Use | Example of the DataLink | Attributes List


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox