Files
Pilz/Pilz.Plugins.Advanced/PluginFeature.cs
2023-12-05 13:52:35 +01:00

28 lines
698 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.WinControls;
namespace Pilz.Plugins.Advanced
{
public abstract class PluginFeature
{
public string Type { get; init; }
public virtual string? Name { get; init; }
public virtual RadSvgImage? Icon { get; set; }
public virtual bool Enabled { get; set; } = true;
protected PluginFeature(string functionType)
{
Type = functionType;
}
protected PluginFeature(string functionType, string? functionName) : this(functionType)
{
Name = functionName;
}
}
}