C# Class Upac.WebsiteAdmin.Util

ファイルを表示 Open project: 1508/upac-for-umbraco

Public Methods

Method Description
CopyDirectory ( string Src, string Dst ) : void
CreateDatabase ( string name, string folderPath ) : void
DeleteDatabase ( string name ) : void
EnsureFolder ( string path ) : void
ModifyWebconfig ( string dbstring, string path ) : void
Replace ( string &file, string &searchFor, string &replaceWith ) : bool

Method Details

CopyDirectory() public static method

public static CopyDirectory ( string Src, string Dst ) : void
Src string
Dst string
return void

CreateDatabase() public static method

public static CreateDatabase ( string name, string folderPath ) : void
name string
folderPath string
return void

DeleteDatabase() public static method

public static DeleteDatabase ( string name ) : void
name string
return void

EnsureFolder() public static method

public static EnsureFolder ( string path ) : void
path string
return void

ModifyWebconfig() public static method

public static ModifyWebconfig ( string dbstring, string path ) : void
dbstring string
path string
return void

Replace() public static method

public static Replace ( string &file, string &searchFor, string &replaceWith ) : bool
file string
searchFor string
replaceWith string
return bool