Show / Hide Table of Contents

Interface ITaskCancellableCommand<TResult>

Cancellable command

Inherited Members
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: Neutronium.BuildingBlocks.ApplicationTools
Assembly: Neutronium.BuildingBlocks.ApplicationTools.dll
Syntax
public interface ITaskCancellableCommand<TResult> : INotifyPropertyChanged, INotifyPropertyChanging
Type Parameters
Name Description
TResult

Result type

Properties

| Improve this Doc View Source

CanBeExecuted

True if the command can be executed

Declaration
bool CanBeExecuted { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Cancel

Cancel the current execution

Declaration
ISimpleCommand Cancel { get; }
Property Value
Type Description
Neutronium.MVVMComponents.ISimpleCommand
| Improve this Doc View Source

Computing

True if the command is executing

Declaration
bool Computing { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Results

Results exposed as Observable CommandResult<TResult>

Declaration
IObservable<CommandResult<TResult>> Results { get; }
Property Value
Type Description
System.IObservable<CommandResult<TResult>>
| Improve this Doc View Source

Run

Execute the command

Declaration
ICommand Run { get; }
Property Value
Type Description
System.Windows.Input.ICommand
  • Improve this Doc
  • View Source
Back to top Generated by DocFX