Table of Contents

Class RenameLayerEffect

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

Represents a profile editor command that can be used to rename a layer effect

public class RenameLayerEffect : IProfileEditorCommand
Inheritance
object
RenameLayerEffect
Implements

Constructors

RenameLayerEffect(BaseLayerEffect, string)

Creates a new instance of the RenameLayerEffect class.

public RenameLayerEffect(BaseLayerEffect layerEffect, string name)

Parameters

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