Links

ICommand

Wisej.Web.ICommand
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Defines a command that can be used for data binding.
C#
VB.NET
public interface ICommand
Public Interface ICommand

Methods

CanExecute(args)

Defines a method that determines whether the command can execute in its current state.
Parameter
Type
Description
args
A CommandArgs that contains data that can be used by the command.
Returns: Boolean. true if this command can be executed; otherwise, false.

Execute(args)

Defines a method to be called when the command is invoked.
Parameter
Type
Description
args
A CommandArgs that contains data that can be used by the command.

Events

CanExecuteChanged

EventHandler Fired when changes occur that affect whether or not the command should execute.

Implemented By

Name
Description
Command
Implements the ICommand interface wrapping execute and canExecute actions.
Implements the ICommand interface wrapping execute and canExecute actions.