Click or drag to resize

FileDiffEngineT Class

Inheritance Hierarchy
SystemObject
  FileHelpersEngineBase
    FileHelpersFileDiffEngineT

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public sealed class FileDiffEngine<T> : EngineBase
where T : class, Object, IComparable<T>

Type Parameters

T
The record type.

The FileDiffEngineT type exposes the following members.

Constructors
  NameDescription
Public methodFileDiffEngineT
Creates a new FileDiffEngineT
Top
Properties
  NameDescription
Public propertyEncoding
The encoding to Read and Write the streams. Default is the system's current ANSI code page.
(Inherited from EngineBase.)
Public propertyErrorManager
This is a common class that manages the errors of the library.
(Inherited from EngineBase.)
Public propertyErrorMode
Indicates the behavior of the engine when it finds an error. {Shortcut for )
(Inherited from EngineBase.)
Public propertyFooterText
The Read Footer in the last Read operation. If any.
(Inherited from EngineBase.)
Public propertyHeaderText
The Read Header in the last Read operation. If any.
(Inherited from EngineBase.)
Public propertyLineNumber
The current line number.
(Inherited from EngineBase.)
Public propertyNewLineForWrite
Newline string to be used when engine writes to file. Default is the system's newline setting (System.Environment.NewLine).
(Inherited from EngineBase.)
Public propertyOptions
Allows you to change some record layout options at runtime
(Inherited from EngineBase.)
Public propertyRecordType
Returns the type of records handled by this engine.
(Inherited from EngineBase.)
Public propertyTotalRecords
The total numbers of records in the last read/written file (only works with whole read/write).
(Inherited from EngineBase.)
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
(Inherited from EngineBase.)
Public methodOnlyDuplicatedRecords
Returns the duplicated records in both files.
Public methodOnlyMissingRecords
Returns the records in newFile that not are in the sourceFile
Public methodOnlyNewRecords
Returns the records in newFile that not are in the sourceFile
Public methodOnlyNoDuplicatedRecords
Returns the NON duplicated records in both files.
Public methodWriteNewRecords
Read the source file, the new File, get the records and write them to a destination file. (record not in first file but in second will be written to the third)
Top
Events
  NameDescription
Public eventProgress
Event handler called to notify progress.
(Inherited from EngineBase.)
Top
See Also