Implements burn
This commit is contained in:
@@ -7,6 +7,11 @@ namespace PkmnLib.Dynamic.ScriptHandling.Registry;
|
||||
/// </summary>
|
||||
public interface IPlugin
|
||||
{
|
||||
/// <summary>
|
||||
/// The configuration for the plugin. This is used to pass in any configuration options.
|
||||
/// </summary>
|
||||
IPluginConfiguration Configuration { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the plugin. Mostly used for debugging purposes.
|
||||
/// </summary>
|
||||
@@ -28,9 +33,10 @@ public interface IPlugin
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||
public abstract class Plugin<TConfiguration> : IPlugin where TConfiguration : IPluginConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// The configuration for the plugin. This is used to pass in any configuration options.
|
||||
/// </summary>
|
||||
/// <inheritdoc />
|
||||
IPluginConfiguration IPlugin.Configuration => Configuration;
|
||||
|
||||
/// <inheritdoc cref="IPlugin.Configuration"/>
|
||||
public TConfiguration Configuration { get; }
|
||||
|
||||
/// <inheritdoc cref="Plugin{TConfiguration}"/>
|
||||
|
||||
Reference in New Issue
Block a user