Tip
Separation of configuration files by application versions is required because the supported versions
and options (enabled/disabled, etc) may vary for the same plug-in depending on the application version.
public sealed class PluginsManagerPublic NotInheritable Class PluginsManagerpublic ref class PluginsManager sealed[<SealedAttribute>]
type PluginsManager = class end| PluginsManager | Initializes a new instance of the PluginsManager class |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetConfigFileNameByProgramVersion | Returns the name of the plug-in configuration file which is specific for ProgramInfo. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetPluginsHash | Gets a hash for currently loaded Plug-ins. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsPluginInstalled(Guid) | Checks whether the specified plug-in is installed. |
| IsPluginInstalled(Guid, PluginInfo) | Checks whether the specified plug-in is installed and retrieves the information about it. |
| LoadAll | Loads multiple plug-in assemblies and IPlugin implementations contained in them according to the specified metadata. |
| LoadFromAssembly | Loads IPlugin implementations from a previously loaded plug-in assembly. |
| LoadOne(IAppEnv, IPluginInitialMeta) | Loads a plug-in assembly according to the specified metadata and then loads all IPlugin implementations from it. |
| LoadOne(IAppEnv, String) | Loads a plug-in assembly from the specified location and then loads all IPlugin implementations from it. |
| LoadReferencedT | Loads a plug-in class from a referenced assembly. |
| LoadStandardMetadata | Loads metadata for standard plug-ins from the specified directory. |
| LoadThirdPartyMetadata | Loads metadata for third-party plug-ins from the specified base path. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryLoadMetadata | Checks whether the specified file is a plug-in assembly file and if so then loads its metadata. |
| TryParseGuid | Attempts to parse the specified string as Guid. |
| UpdateConfigFile | Saves the information about a plug-in to the version specific plug-in configuration file. |
| AllPluginsLoaded | Occurs when the entire collection of plug-in assemblies is loaded by LoadAll(IAppEnv, LanguageInfo, PluginsStatusEventHandler, IEnumerableIPluginInitialMeta, ListPluginInfo). |
| PluginAssemblyLoadFailed | Occurs when a plug-in assembly is not loaded because an exception is caught during load of the assembly. |
| PluginLoaded | Occurs when a plug-in assembly is loaded and all implementations of IPlugin contained in it are instantiated. |
| PluginLoadFailed | Occurs when a plug-in assembly is not loaded because an exception is caught during load of plug-in classes. |
| PluginVersionMismatch | Occurs when a plug-in assembly is not loaded because its version is not supported by the program. |
| ActiveVersionConfig | Base name of the plug-in configuration file. |
| DefaultDirectoryName | Default name of subfolder where the plug-in are located. It can be appended to the program installation folder, to the user settings folder, etc. |