C# Class ICSharpCode.Core.AddInManager

Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
UninstallAddIn ( List disabled, string addInName, string targetDir ) : bool

Method Details

AbortRemoveUserAddInOnNextStart() public static méthode

public static AbortRemoveUserAddInOnNextStart ( string identity ) : void
identity string
Résultat void

AddExternalAddIns() public static méthode

public static AddExternalAddIns ( IList addIns ) : void
addIns IList
Résultat void

Disable() public static méthode

public static Disable ( IList addIns ) : void
addIns IList
Résultat void

Enable() public static méthode

public static Enable ( IList addIns ) : void
addIns IList
Résultat void

InstallAddIns() public static méthode

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
Résultat void

LoadAddInConfiguration() public static méthode

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
Résultat void

RemoveExternalAddIns() public static méthode

public static RemoveExternalAddIns ( IList addIns ) : void
addIns IList
Résultat void

RemoveUserAddInOnNextStart() public static méthode

public static RemoveUserAddInOnNextStart ( string identity ) : void
identity string
Résultat void

SaveAddInConfiguration() public static méthode

public static SaveAddInConfiguration ( List addInFiles, List disabledAddIns ) : void
addInFiles List
disabledAddIns List
Résultat void