Table of Contents

Class AddLayerEffect

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

Represents a profile editor command that can be used to add a layer effect to a profile element.

public class AddLayerEffect : IProfileEditorCommand, IDisposable
Inheritance
object
AddLayerEffect
Implements

Constructors

AddLayerEffect(RenderProfileElement, BaseLayerEffect)

Creates a new instance of the AddLayerEffect class.

public AddLayerEffect(RenderProfileElement renderProfileElement, BaseLayerEffect layerEffect)

Parameters

renderProfileElement RenderProfileElement
layerEffect BaseLayerEffect

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Execute()

Executes the command

public void Execute()

Undo()

Undoes the command

public void Undo()