Artemis Artemis
Artemis Artemis

Search Results for

    Interface IPluginSetting

    Represents a setting tied to a plugin

    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public interface IPluginSetting

    Properties

    AutoSave

    Gets or sets whether changes must automatically be saved

    Note: When set to true HasChanged is always false

    Declaration
    bool AutoSave { get; set; }
    Property Value
    Type Description
    bool

    HasChanged

    Determines whether the setting has been changed

    Declaration
    bool HasChanged { get; }
    Property Value
    Type Description
    bool

    Name

    The name of the setting, unique to this plugin

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string

    Methods

    RejectChanges()

    Resets the setting to the last saved value

    Declaration
    void RejectChanges()

    Save()

    Saves the setting

    Declaration
    void Save()

    Events

    SettingChanged

    Occurs when the value of the setting has been changed

    Declaration
    event EventHandler? SettingChanged
    Event Type
    Type Description
    EventHandler

    SettingSaved

    Occurs when the value of the setting has been saved

    Declaration
    event EventHandler? SettingSaved
    Event Type
    Type Description
    EventHandler
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.