C# Class Codaxy.Common.IO.DirectoryUtil

Afficher le fichier Open project: codaxy/common

Méthodes publiques

Méthode Description
CopyDirectoryContents ( DirectoryInfo source, DirectoryInfo target, bool move, bool overwrite ) : void
CopyDirectoryContents ( String sourcePath, String targetPath, bool move, bool overwrite ) : void
DeleteIfExists ( String path, bool recursive ) : void

Method Details

CopyDirectoryContents() public static méthode

public static CopyDirectoryContents ( DirectoryInfo source, DirectoryInfo target, bool move, bool overwrite ) : void
source System.IO.DirectoryInfo
target System.IO.DirectoryInfo
move bool
overwrite bool
Résultat void

CopyDirectoryContents() public static méthode

public static CopyDirectoryContents ( String sourcePath, String targetPath, bool move, bool overwrite ) : void
sourcePath String
targetPath String
move bool
overwrite bool
Résultat void

DeleteIfExists() public static méthode

public static DeleteIfExists ( String path, bool recursive ) : void
path String
recursive bool
Résultat void