RxCommand<TParam, TRESULT> constructor

RxCommand<TParam, TRESULT>(BehaviorSubject<CommandResult<TRESULT>> _commandResultsSubject)

Implementation

RxCommand(this._commandResultsSubject):super(_commandResultsSubject.observable)
{
    this
      .where( (x) => x.hasError)
        .listen((x) => _thrownExceptionsSubject.add(x.error));

    this
      .listen((x) => _isExecutingSubject.add(x.isExecuting));

}