Class PluginHelper
A plugin helper.
Inheritance
System.Object
PluginHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Plugins
Assembly: Kephas.Plugins.dll
Syntax
public static class PluginHelper
Fields
| Improve this Doc View SourceEnablePluginsArgName
Name of the enable plugins argument.
Declaration
public const string EnablePluginsArgName = "EnablePlugins"
Field Value
Type | Description |
---|---|
System.String |
PluginsFolder
Pathname of the plugins folder.
Declaration
public const string PluginsFolder = "Plugins"
Field Value
Type | Description |
---|---|
System.String |
PluginsFolderArgName
Name of the plugins folder argument.
Declaration
public const string PluginsFolderArgName = "PluginsFolder"
Field Value
Type | Description |
---|---|
System.String |
PluginStateFileName
Name of the plugin state file.
Declaration
public const string PluginStateFileName = ".pluginstate"
Field Value
Type | Description |
---|---|
System.String |
TargetFrameworkArgName
Name of the target framework argument.
Declaration
public const string TargetFrameworkArgName = "TargetFramework"
Field Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetPluginState(String)
Gets the plugin state, reading it from the state file in the provided bin folder.
Declaration
public static PluginState GetPluginState(string pluginLocation)
Parameters
Type | Name | Description |
---|---|---|
System.String | pluginLocation | Pathname of the plugin bin folder. |
Returns
Type | Description |
---|---|
PluginState | The plugin state. |