C# Class GUI.UserControlInstallerHelper

Helper class used to install new user controls
Show file Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
InstallPlugin ( string PluginPackagePath, string &ErrorText ) : bool
InstallPlugin ( string filepath ) : void
UninstallPlugin ( PluginDescription desc ) : bool

Unistalls a plugin

deleteAllFiles ( DirectoryInfo dir ) : void
deleteDir ( DirectoryInfo di ) : void
deleteFolder ( string FolderName ) : bool

Deletes a folder and its contents on disk

Method Details

InstallPlugin() public method

public InstallPlugin ( string PluginPackagePath, string &ErrorText ) : bool
PluginPackagePath string
ErrorText string
return bool

InstallPlugin() public method

public InstallPlugin ( string filepath ) : void
filepath string
return void

UninstallPlugin() public method

Unistalls a plugin
public UninstallPlugin ( PluginDescription desc ) : bool
desc OSAE.PluginDescription The information about the plugin to be deleted
return bool

deleteAllFiles() public method

public deleteAllFiles ( DirectoryInfo dir ) : void
dir System.IO.DirectoryInfo
return void

deleteDir() public method

public deleteDir ( DirectoryInfo di ) : void
di System.IO.DirectoryInfo
return void

deleteFolder() public method

Deletes a folder and its contents on disk
public deleteFolder ( string FolderName ) : bool
FolderName string The folder to be deleted
return bool