Class PluginFeatureAttribute
Represents an attribute that describes a plugin feature
[AttributeUsage(AttributeTargets.Class)]
public class PluginFeatureAttribute : Attribute
- Inheritance
-
objectPluginFeatureAttribute
- Inherited Members
Properties
AlwaysEnabled
Marks the feature to always be enabled as long as the plugin is enabled
Note: always true if this is the plugin's only feature
public bool AlwaysEnabled { get; set; }
Property Value
Description
Gets or sets the user-friendly description for this property, shown in the UI.
public string? Description { get; set; }
Property Value
Icon
The plugins display icon that's shown in the settings see https://materialdesignicons.com for available icons
[Obsolete("Feature icons are no longer shown in the UI.")]
public string? Icon { get; set; }
Property Value
Name
Gets or sets the user-friendly name for this property, shown in the UI.
public string? Name { get; set; }