C# Class LazyCopy.Utilities.FileCopyHelper

This class contains helper methods for copying files.
Afficher le fichier Open project: aleksk/LazyCopy Class Usage Examples

Méthodes publiques

Méthode Description
CopyFile ( LongPath.LongPathFileInfo sourceFileInfo, LongPath.LongPathFileInfo targetFileInfo ) : bool

Copies the sourceFileInfo to the targetFileInfo.

CopyFile ( string sourceFile, string targetFile ) : bool

Copies the sourceFile to the targetFile.

Method Details

CopyFile() public static méthode

Copies the sourceFileInfo to the targetFileInfo.
or is . does not exist.
public static CopyFile ( LongPath.LongPathFileInfo sourceFileInfo, LongPath.LongPathFileInfo targetFileInfo ) : bool
sourceFileInfo LongPath.LongPathFileInfo Source file to be copied.
targetFileInfo LongPath.LongPathFileInfo Target file.
Résultat bool

CopyFile() public static méthode

Copies the sourceFile to the targetFile.
or is or empty. does not exist.
public static CopyFile ( string sourceFile, string targetFile ) : bool
sourceFile string Source file to be copied.
targetFile string Target file.
Résultat bool