Skip to content

IRxCommand.CanCommandExecute property

Defined in

Type: IRxCommand Namespace: ReactiveMarbles.Command Assembly: ReactiveMarbles.Command.dll

Applies to

netstandard2.0

IObservable<bool> CanCommandExecute { get; }

Summary: Gets an observable whose value indicates whether the command can currently execute.

Returns: IObservable

Remarks

The value provided by this observable is governed both by any canExecute observable provided during command creation, as well as the current execution status of the command. A command that is currently executing will always yield false from this observable, even if the canExecute pipeline is currently true.