Table of Contents

Class BuzyCommand

Namespace
HeBianGu.Service.Command
Assembly
HeBianGu.Service.Command.dll

带有Busy的命令

public class BuzyCommand : NotifyCommand, INotifyPropertyChanged, ICommand
Inheritance
BuzyCommand
Implements
Derived
Inherited Members
Extension Methods

Constructors

BuzyCommand(Action<object>)

执行命令

public BuzyCommand(Action<object> action)

Parameters

action Action<object>

BuzyCommand(Action<object>, Predicate<object>)

执行命令

public BuzyCommand(Action<object> execute, Predicate<object> canExecute)

Parameters

execute Action<object>
canExecute Predicate<object>

Properties

Exception

说明

public Exception Exception { get; set; }

Property Value

Exception

IsBuzy

说明

public bool IsBuzy { get; set; }

Property Value

bool

Message

说明

public string Message { get; set; }

Property Value

string

Text

说明

public string Text { get; set; }

Property Value

string

Methods

Execute(object)

执行命令

public override void Execute(object parameter)

Parameters

parameter object

Operators

implicit operator BuzyCommand(Action<object>)

隐式转换

public static implicit operator BuzyCommand(Action<object> action)

Parameters

action Action<object>

Returns

BuzyCommand