Artemis Artemis
Artemis Artemis

Search Results for

    Class SingleLedAdaptionHint

    Represents a hint that adapts layers to a single LED of one or more devices

    Inheritance
    object
    CorePropertyChanged
    SingleLedAdaptionHint
    Implements
    IAdaptionHint
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public class SingleLedAdaptionHint : CorePropertyChanged, IAdaptionHint

    Constructors

    SingleLedAdaptionHint()

    Creates a new instance of the SingleLedAdaptionHint class

    Declaration
    public SingleLedAdaptionHint()

    Properties

    Amount

    Gets or sets the amount of devices to limit to if LimitAmount is true

    Declaration
    public int Amount { get; set; }
    Property Value
    Type Description
    int

    LedId

    Gets or sets the LED ID to apply to.

    Declaration
    public LedId LedId { get; set; }
    Property Value
    Type Description
    LedId

    LimitAmount

    Gets or sets a boolean indicating whether a limited amount of devices should be used

    Declaration
    public bool LimitAmount { get; set; }
    Property Value
    Type Description
    bool

    Skip

    Gets or sets the amount of devices to skip

    Declaration
    public int Skip { get; set; }
    Property Value
    Type Description
    int

    Methods

    Apply(Layer, List<ArtemisDevice>)

    Applies the adaptive action to the provided layer

    Declaration
    public void Apply(Layer layer, List<ArtemisDevice> devices)
    Parameters
    Type Name Description
    Layer layer

    The layer to adapt

    List<ArtemisDevice> devices

    The devices to adapt the layer for

    GetEntry()

    Returns an adaption hint entry for this adaption hint used for persistent storage

    Declaration
    public IAdaptionHintEntity GetEntry()
    Returns
    Type Description
    IAdaptionHintEntity

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IAdaptionHint
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.