instance yuhay + bump version

This commit is contained in:
2024-04-18 07:43:08 +02:00
parent 3fba8c00b7
commit 841f3b41ae
3 changed files with 15 additions and 7 deletions

View File

@@ -1,13 +1,21 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;
namespace Pilz.Plugins.Advanced
{
public interface IPluginFeatureProvider<T> where T : PluginFeature
public interface IPluginFeatureProvider
{
static abstract T Instance { get; }
static abstract PluginFeature Instance { get; }
}
public interface IPluginFeatureProvider<T> : IPluginFeatureProvider where T : PluginFeature, IPluginFeatureProvider<T>
{
static new abstract T Instance { get; }
static PluginFeature IPluginFeatureProvider.Instance => T.Instance;
}
}