Class RenameProfileElement
Represents a profile editor command that can be used to rename a profile element.
public class RenameProfileElement : IProfileEditorCommand
- Inheritance
-
objectRenameProfileElement
- Implements
Constructors
RenameProfileElement(ProfileElement, string?)
Creates a new instance of the RenameProfileElement class.
public RenameProfileElement(ProfileElement subject, string? name)
Parameters
subjectProfileElementnamestring
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()