Table of Contents

Class NamedCommand

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements named command which is executed using Execute(string, object?).

public class NamedCommand : Command, IBaseObject, ICommand
Inheritance
NamedCommand
Implements

Constructors

NamedCommand(string?)

Initializes a new instance of the NamedCommand class.

Properties

CommandName

Gets or sets command name.

Methods

CanExecute(object?)

Returns whether the command can be executed.

Execute(object?)

Defines the method that should be called when the command is executed.