correct constructor parameter names for plugin features

This commit is contained in:
Pilzinsel64
2024-07-16 10:14:45 +02:00
parent 8043d1fcf3
commit 4bb72c63b2
7 changed files with 15 additions and 16 deletions

View File

@@ -45,15 +45,15 @@ public abstract class PluginFeature
/// </summary>
public virtual bool Enabled { get; set; } = true;
protected PluginFeature(string featureType, string identifier)
protected PluginFeature(string type, string identifier)
{
Identifier = identifier;
Type = featureType;
Type = type;
}
protected PluginFeature(string featureType, string featureIdentifier, string? featureName) : this(featureType, featureIdentifier)
protected PluginFeature(string type, string identifier, string? name) : this(type, identifier)
{
Name = featureName;
Name = name;
}
public static string GetFullIdentifier(string featureType, string identifier)