C# Class WinRt.ViewModels.SafeCommand

Inheritance: ICommand
显示文件 Open project: MediaFire/mediafire-csharp-open-sdk

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
SafeCommand ( Func action ) : System

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

SafeCommand() public method

public SafeCommand ( Func action ) : System
action Func
return System