CommonEngineTransformFileTSource, TDest Method |
Transform the records of type sourceType in the sourceFile in
records of type destType and write them to the destFile. (but
returns the transformed records) WARNING: this is a slower method
that the TransformFileAssync.
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntaxpublic static Object[] TransformFile<TSource, TDest>(
string sourceFile,
string destFile
)
where TSource : class, Object, ITransformable<TDest>
where TDest : class
Public Shared Function TransformFile(Of TSource As {Class, Object, ITransformable(Of TDest)}, TDest As Class) (
sourceFile As String,
destFile As String
) As Object()
Parameters
- sourceFile
- Type: SystemString
The file with records to be transformed - destFile
- Type: SystemString
The destination file with the transformed records
Type Parameters
- TSource
[Missing <typeparam name="TSource"/> documentation for "M:FileHelpers.CommonEngine.TransformFile``2(System.String,System.String)"]
- TDest
[Missing <typeparam name="TDest"/> documentation for "M:FileHelpers.CommonEngine.TransformFile``2(System.String,System.String)"]
Return Value
Type:
ObjectThe transformed records.
See Also