Table of Contents

Class ResetLayerProperty<T>

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

Represents a profile editor command that can be used to reset a layer property to it's default value.

public class ResetLayerProperty<T> : IProfileEditorCommand

Type Parameters

T
Inheritance
object
ResetLayerProperty<T>
Implements

Constructors

ResetLayerProperty(LayerProperty<T>)

Creates a new instance of the ResetLayerProperty<T> class.

public ResetLayerProperty(LayerProperty<T> layerProperty)

Parameters

layerProperty LayerProperty<T>

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