Class PluginFeatureAttribute
Represents an attribute that describes a plugin feature
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class PluginFeatureAttribute : Attribute
Constructors
PluginFeatureAttribute()
Declaration
public PluginFeatureAttribute()
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
Declaration
public bool AlwaysEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Description
Gets or sets the user-friendly description for this property, shown in the UI.
Declaration
public string? Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Icon
The plugins display icon that's shown in the settings see https://materialdesignicons.com for available icons
Declaration
[Obsolete("Feature icons are no longer shown in the UI.")]
public string? Icon { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or sets the user-friendly name for this property, shown in the UI.
Declaration
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |