Interface IPlugin
A simple plugin interface
Inherited Members
System.IDisposable.Dispose()
Namespace: Simplic.Plugin
Assembly: Simplic.Plugin.dll
Syntax
public interface IPlugin : IDisposable
Properties
| Improve this Doc View SourcePluginId
The Id of the plugin.
Declaration
Guid PluginId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
PluginName
The name of the plugin.
Declaration
string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
PluginVersion
The plugin version
Declaration
Version PluginVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
Methods
| Improve this Doc View SourceInit()
Initialization method for the plugin.
Declaration
void Init()
Run()
Entry point of the plugin.
Declaration
void Run()
Setup(Version)
This is the installation entry point for the plugins.
Declaration
void Setup(Version oldVersion)
Parameters
Type | Name | Description |
---|---|---|
System.Version | oldVersion |