13 lines
373 B
C#
13 lines
373 B
C#
namespace Pilz.Plugins.Advanced;
|
|
|
|
public interface IPluginFeatureProvider
|
|
{
|
|
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;
|
|
}
|