Table of Contents

Class ShowUpgradeCommand

Namespace
H.Modules.Upgrade
Assembly
H.Modules.Upgrade.dll
[Icon("")]
[Display(Name = "软件更新", Description = "应用此功能检查软件更新")]
public class ShowUpgradeCommand : DisplayMarkupCommandBase, ICommand, INotifyPropertyChanged, IIconable, INameable, IDescriptionable
Inheritance
ShowUpgradeCommand
Implements
Inherited Members
Extension Methods

Methods

CanExecute(object)

Defines the method that determines whether the command can execute in its current state.

public override bool CanExecute(object parameter)

Parameters

parameter object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns

bool

true if this command can be executed; otherwise, false.

ExecuteAsync(object)

public override Task ExecuteAsync(object parameter)

Parameters

parameter object

Returns

Task