FileTransformEngineTSource, TDestination Class |
Namespace: FileHelpers
public sealed class FileTransformEngine<TSource, TDestination> where TSource : class, Object, ITransformable<TDestination> where TDestination : class
The FileTransformEngineTSource, TDestination type exposes the following members.
Name | Description | |
---|---|---|
![]() | FileTransformEngineTSource, TDestination | Create a new FileTransformEngine. |
Name | Description | |
---|---|---|
![]() | DestinationEncoding | The Encoding of the Destination File. |
![]() | DestinationErrorManager |
Allow access the ErrorManager of the engine used to
write the destination file, is null before any file is transformed
|
![]() | DestinationType | The destination record Type. |
![]() | ErrorMode | Indicates the behavior of the engine when an error is found. |
![]() | SourceEncoding | The Encoding of the Source File. |
![]() | SourceErrorManager |
Allow access the ErrorManager of the engine used to
read the source file, is null before any file is transformed
|
![]() | SourceType | The source record Type. |
Name | Description | |
---|---|---|
![]() | ReadAndTransformRecords |
Transform a file that contains source records to an array of the destination type
|
![]() | TransformFile |
Transform the contents of the sourceFile and write them to the
destFile.(use only if you need the array of the transformed
records, TransformFileFast is faster)
|
![]() | TransformFileFast(TextReader, StreamWriter) |
Transform the contents of the sourceFile and write them to the
destFile. (faster and uses less memory, best choice for big
files)
|
![]() | TransformFileFast(TextReader, String) |
Transform the contents of the sourceFile and write them to the
destFile. (faster and uses less memory, best choice for big
files)
|
![]() | TransformFileFast(String, StreamWriter) |
Transform the contents of the sourceFile and write them to the
destFile. (faster and uses less memory, best choice for big
files)
|
![]() | TransformFileFast(String, String) |
Transform the contents of the sourceFile and write them to the
destFile. (faster and uses less memory, best choice for big
files)
|
![]() | TransformRecords |
Transforms an array of records from the source type to the destination type
|