C# Класс ICSharpCode.Core.AddInManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
UninstallAddIn ( List disabled, string addInName, string targetDir ) : bool

Описание методов

AbortRemoveUserAddInOnNextStart() публичный статический Метод

public static AbortRemoveUserAddInOnNextStart ( string identity ) : void
identity string
Результат void

AddExternalAddIns() публичный статический Метод

public static AddExternalAddIns ( IList addIns ) : void
addIns IList
Результат void

Disable() публичный статический Метод

public static Disable ( IList addIns ) : void
addIns IList
Результат void

Enable() публичный статический Метод

public static Enable ( IList addIns ) : void
addIns IList
Результат void

InstallAddIns() публичный статический Метод

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
Результат void

LoadAddInConfiguration() публичный статический Метод

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
Результат void

RemoveExternalAddIns() публичный статический Метод

public static RemoveExternalAddIns ( IList addIns ) : void
addIns IList
Результат void

RemoveUserAddInOnNextStart() публичный статический Метод

public static RemoveUserAddInOnNextStart ( string identity ) : void
identity string
Результат void

SaveAddInConfiguration() публичный статический Метод

public static SaveAddInConfiguration ( List addInFiles, List disabledAddIns ) : void
addInFiles List
disabledAddIns List
Результат void