private void OnStringResultsReceived(TestModel model, IWorkflowInstanceContext context, string results) { model.ReceivedStrings.Add(results); }
private void OnError(TestModel model, IWorkflowInstanceContext context, Exception ex) { _exception = ex; }
private void OnIntResultsReceived(TestModel model, IWorkflowInstanceContext context, int results) { model.ReceivedInts.Add(results); }
private void OnDecialResultsReceived(TestModel model, IWorkflowInstanceContext context, decimal results) { model.ReceivedDecimals.Add(results); }
private void OnCompleted(TestModel model, IWorkflowInstanceContext context) { }
private IObservable<string> GetStringObservble(TestModel model, IWorkflowInstanceContext context) { return _stringSubject; }
private IObservable<int> GetIntObservable(TestModel model, IWorkflowInstanceContext context) { return _intSubject; }
private IObservable<decimal> GetDecimalObservable(TestModel model, IWorkflowInstanceContext context) { return _decimalSubject; }