13 lines
365 B
C#
13 lines
365 B
C#
namespace Pilz.Features;
|
|
|
|
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;
|
|
}
|