Table of Contents

Class MoveProfileElement

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

Represents a profile editor command that can be used to move a profile element.

public class MoveProfileElement : IProfileEditorCommand
Inheritance
object
MoveProfileElement
Implements

Constructors

MoveProfileElement(ProfileElement, ProfileElement, int)

Creates a new instance of the MoveProfileElement class.

public MoveProfileElement(ProfileElement target, ProfileElement subject, int targetIndex)

Parameters

target ProfileElement
subject ProfileElement
targetIndex int

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()