C# Class BF2Statistics.DirectoryExt

Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Méthode Description
Copy ( string sourceDirName, string destDirName, bool copySubDirs = true, bool overwriteFiles = false ) : void

Copies the contents of one folder, to another.

Delete ( FileSystemInfo fileSystemInfo ) : void
Delete ( string path ) : void

Method Details

Copy() public static méthode

Copies the contents of one folder, to another.
public static Copy ( string sourceDirName, string destDirName, bool copySubDirs = true, bool overwriteFiles = false ) : void
sourceDirName string The source folder, being copied
destDirName string The destination dicrectoy, where all the copies will be stored. /// The directory does NOT have to exist.
copySubDirs bool Recursively copy sub folders?
overwriteFiles bool
Résultat void

Delete() public static méthode

public static Delete ( FileSystemInfo fileSystemInfo ) : void
fileSystemInfo System.IO.FileSystemInfo
Résultat void

Delete() public static méthode

public static Delete ( string path ) : void
path string
Résultat void