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;
        }
    }
}
