Table of Contents

Class PluginFeatureAttribute

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents an attribute that describes a plugin feature

[AttributeUsage(AttributeTargets.Class)]
public class PluginFeatureAttribute : Attribute
Inheritance
object
PluginFeatureAttribute
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

bool

Description

Gets or sets the user-friendly description for this property, shown in the UI.

public string? Description { get; set; }

Property Value

string

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

string

Name

Gets or sets the user-friendly name for this property, shown in the UI.

public string? Name { get; set; }

Property Value

string