C# Class ExcelDna.AddIn.Tasks.Utils.ExcelDnaPhysicalFileSystem

Inheritance: IExcelDnaFileSystem
显示文件 Open project: Excel-DNA/ExcelDna

Public Methods

Method Description
CopyFile ( string sourceFileName, string destFileName, bool overwrite ) : void
CreateDirectory ( string path ) : void
DirectoryExists ( string path ) : bool
FileExists ( string path ) : bool
GetRelativePath ( string path, string workingDirectory = null ) : string

Method Details

CopyFile() public method

public CopyFile ( string sourceFileName, string destFileName, bool overwrite ) : void
sourceFileName string
destFileName string
overwrite bool
return void

CreateDirectory() public method

public CreateDirectory ( string path ) : void
path string
return void

DirectoryExists() public method

public DirectoryExists ( string path ) : bool
path string
return bool

FileExists() public method

public FileExists ( string path ) : bool
path string
return bool

GetRelativePath() public method

public GetRelativePath ( string path, string workingDirectory = null ) : string
path string
workingDirectory string
return string