C# Class Codaxy.Common.IO.DirectoryUtil

Exibir arquivo Open project: codaxy/common

Public Methods

Method 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 method

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

CopyDirectoryContents() public static method

public static CopyDirectoryContents ( String sourcePath, String targetPath, bool move, bool overwrite ) : void
sourcePath String
targetPath String
move bool
overwrite bool
return void

DeleteIfExists() public static method

public static DeleteIfExists ( String path, bool recursive ) : void
path String
recursive bool
return void