Interface IPlugin
Interface IPlugin
Namespace: MediaBrowser.Common.Plugins
Assembly: MediaBrowser.Common.dll
Syntax
public interface IPlugin
Properties
AssemblyFilePath
Gets the path to the assembly file
Declaration
string AssemblyFilePath { get; }
Property Value
Type | Description |
---|---|
System.String | The assembly file path. |
DataFolderPath
Gets the full path to the data folder, where the plugin can store any miscellaneous files needed
Declaration
string DataFolderPath { get; }
Property Value
Type | Description |
---|---|
System.String | The data folder path. |
Description
Gets the description.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
System.String | The description. |
Id
Gets the unique id.
Declaration
Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid | The unique id. |
Name
Gets the name of the plugin
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Version
Gets the plugin version
Declaration
Version Version { get; }
Property Value
Type | Description |
---|---|
System.Version | The version. |
Methods
GetPluginInfo()
Gets the plugin info.
Declaration
PluginInfo GetPluginInfo()
Returns
Type | Description |
---|---|
PluginInfo | PluginInfo. |
OnUninstalling()
Called when just before the plugin is uninstalled from the server.
Declaration
void OnUninstalling()