Summary
Syntax
public static CombinedReactiveCommand<TParam, TResult> CreateCombined<TParam, TResult>(IEnumerable<ReactiveCommandBase<TParam, TResult>> childCommands, IObservable<bool> canExecute = null, IScheduler? outputScheduler = null)
Type Parameters
Name |
Description |
TParam |
The type of the parameter passed through to command execution.
|
TResult |
The type of the command's result.
|
Parameters
Name |
Type |
Description |
childCommands |
IEnumerable<ReactiveCommandBase<TParam, TResult>> |
The child commands that the combined command will compose.
|
canExecute |
IObservable<bool> |
An optional observable that dictates the availability of the command for execution (in addition to the availability specified
by each individual child command).
|
outputScheduler |
IScheduler? |
An optional scheduler that is used to surface events. Defaults to RxApp.MainThreadScheduler .
|
Return Value