Table of Contents

Class ChangeConditionType

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

Represents a profile editor command that can be used to change the condition type of a profile element.

public class ChangeConditionType : IProfileEditorCommand, IDisposable
Inheritance
object
ChangeConditionType
Implements

Constructors

ChangeConditionType(RenderProfileElement, ICondition)

Creates a new instance of the ChangeConditionType class.

public ChangeConditionType(RenderProfileElement profileElement, ICondition condition)

Parameters

profileElement RenderProfileElement

The profile element whose condition type to change.

condition ICondition

The new condition type.

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