C# Class ICSharpCode.Core.AddInManager

Show file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
AbortRemoveUserAddInOnNextStart ( string identity ) : void
AddExternalAddIns ( IList addIns ) : void
Disable ( IList addIns ) : void
Enable ( IList addIns ) : void
InstallAddIns ( List disabled ) : void

Installs the AddIns from AddInInstallTemp to the UserAddInPath. In case of installation errors, a error message is displayed to the user and the affected AddIn is added to the disabled list.

LoadAddInConfiguration ( List addInFiles, List disabledAddIns ) : void

Loads a configuration file. The 'file' from XML elements in the form "<AddIn file='full path to .addin file'>" will be added to addInFiles, the 'addin' element from "<Disable addin='addin identity'>" will be added to disabledAddIns, all other XML elements are ignored.

RemoveExternalAddIns ( IList addIns ) : void
RemoveUserAddInOnNextStart ( string identity ) : void
SaveAddInConfiguration ( List addInFiles, List disabledAddIns ) : void

Private Methods

Method Description
UninstallAddIn ( List disabled, string addInName, string targetDir ) : bool

Method Details

AbortRemoveUserAddInOnNextStart() public static method

public static AbortRemoveUserAddInOnNextStart ( string identity ) : void
identity string
return void

AddExternalAddIns() public static method

public static AddExternalAddIns ( IList addIns ) : void
addIns IList
return void

Disable() public static method

public static Disable ( IList addIns ) : void
addIns IList
return void

Enable() public static method

public static Enable ( IList addIns ) : void
addIns IList
return void

InstallAddIns() public static method

Installs the AddIns from AddInInstallTemp to the UserAddInPath. In case of installation errors, a error message is displayed to the user and the affected AddIn is added to the disabled list.
public static InstallAddIns ( List disabled ) : void
disabled List
return void

LoadAddInConfiguration() public static method

Loads a configuration file. The 'file' from XML elements in the form "<AddIn file='full path to .addin file'>" will be added to addInFiles, the 'addin' element from "<Disable addin='addin identity'>" will be added to disabledAddIns, all other XML elements are ignored.
public static LoadAddInConfiguration ( List addInFiles, List disabledAddIns ) : void
addInFiles List
disabledAddIns List
return void

RemoveExternalAddIns() public static method

public static RemoveExternalAddIns ( IList addIns ) : void
addIns IList
return void

RemoveUserAddInOnNextStart() public static method

public static RemoveUserAddInOnNextStart ( string identity ) : void
identity string
return void

SaveAddInConfiguration() public static method

public static SaveAddInConfiguration ( List addInFiles, List disabledAddIns ) : void
addInFiles List
disabledAddIns List
return void