Interface IPluginTypeLoader
Component that is used by the IPluginRegistry to load types that are referred to in plug-in manifests.
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public interface IPluginTypeLoader
Methods
LoadType(IPlugin, String)
Loads the specified type, referred to in the manifest of the specified plug-in.
Declaration
Type LoadType(IPlugin plugin, string typeName)
Parameters
Type | Name | Description |
---|---|---|
IPlugin | plugin | The plug-in which refers to the type. |
String | typeName | The assembly-qualified type name of the requested type. |
Returns
Type | Description |
---|---|
Type | The loaded type. Throws an exception if the type failes to load. |