Table of Contents

Class DelegateCommand

Namespace
BSGameLib.UI
Assembly
BSGameLib.UI.dll

A command that runs an action when it is executed.

public class DelegateCommand : CommandBase, ICommand
Inheritance
DelegateCommand
Implements
Inherited Members

Constructors

DelegateCommand(Action)

Creates a command that runs executeAction each time it is executed.

public DelegateCommand(Action executeAction)

Parameters

executeAction Action

Methods

Execute()

Runs the command. Called through ICommand.

protected override void Execute()