Table of Contents

Class ChangeLayerLeds

Namespace
Artemis.UI.Shared.Services.ProfileEditor.Commands
Assembly
Artemis.UI.Shared.dll

Represents a profile editor command that can be used to change the LEDs of a layer.

public class ChangeLayerLeds : IProfileEditorCommand
Inheritance
object
ChangeLayerLeds
Implements

Constructors

ChangeLayerLeds(Layer, List<ArtemisLed>)

Creates a new instance of the ChangeLayerLeds class.

public ChangeLayerLeds(Layer layer, List<ArtemisLed> leds)

Parameters

layer Layer
leds List<ArtemisLed>

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()