20 lines
559 B
C#
20 lines
559 B
C#
using Pilz.Plugins.Advanced;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OwnChar.Server.Data
|
|
{
|
|
public interface IServerDataProvider
|
|
{
|
|
// Shared
|
|
public const string FeatureCode = "ownchar.server.dataprovider";
|
|
public IEnumerable<IServerDataProvider> DataProviders => PluginFeatureController.Instance.Features.Get(FeatureCode).Cast<PluginFunction>().Select(f => (IServerDataProvider)f.Execute()!);
|
|
|
|
// Interface
|
|
// ...
|
|
}
|
|
}
|