Table of Contents

Class RenameProfileElement

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

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

public class RenameProfileElement : IProfileEditorCommand
Inheritance
object
RenameProfileElement
Implements

Constructors

RenameProfileElement(ProfileElement, string?)

Creates a new instance of the RenameProfileElement class.

public RenameProfileElement(ProfileElement subject, string? name)

Parameters

subject ProfileElement
name string

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