Class EditorPlugInExtensions
Extension functionality relating to editor plug ins.
Inherited Members
Namespace: Gorgon.Editor.PlugIns
Assembly: Gorgon.Editor.API.dll
Syntax
public static class EditorPlugInExtensions
Methods
| Edit this page View SourceGetDescription(PlugInType)
Function to retrieve a friendly description of a PlugInType value.
Declaration
public static string GetDescription(this PlugInType pluginType)
Parameters
Type | Name | Description |
---|---|---|
PlugInType | pluginType | The plug in type to evaluate. |
Returns
Type | Description |
---|---|
string | The friendly description. |
ValidateAndLoadAssemblies(GorgonMefPlugInCache, IEnumerable<string>, IGorgonLog)
Function to load all the specified plug in assemblies.
Declaration
public static IReadOnlyList<PlugInAssemblyState> ValidateAndLoadAssemblies(this GorgonMefPlugInCache pluginCache, IEnumerable<string> pluginAssemblyFiles, IGorgonLog log)
Parameters
Type | Name | Description |
---|---|---|
GorgonMefPlugInCache | pluginCache | The plugin cache that will hold the plug in assembies. |
IEnumerable<string> | pluginAssemblyFiles | The list of plug in assembly paths to load. |
IGorgonLog | log | The application logging interface. |
Returns
Type | Description |
---|---|
IReadOnlyList<PlugInAssemblyState> | A list of PlugInAssemblyState objects for each plug in assembly loaded. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when the |