Table of Contents

Class MessageCommand

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

带有绑定百分比的命令

public class MessageCommand : BuzyCommand<MessageCommand>, INotifyPropertyChanged, ICommand
Inheritance
MessageCommand
Implements
Inherited Members
Extension Methods

Constructors

MessageCommand(Action<MessageCommand, object>)

执行命令

public MessageCommand(Action<MessageCommand, object> execute)

Parameters

execute Action<MessageCommand, object>

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

执行命令

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

Parameters

execute Action<MessageCommand, object>
canExecute Predicate<object>

Methods

Execute(object)

执行命令

public override void Execute(object parameter)

Parameters

parameter object