예제 #1
0
 internal TaskedObservable(
     LocalConnectionState localConnectionState,
     Func <T, bool> filter)
 {
     this.localConnectionState = localConnectionState;
     this.filter = filter;
     Task        = localConnectionState.Task;
 }
예제 #2
0
 internal TaskedObservable(
     LocalConnectionState localConnectionState,
     Func <T, bool> filter)
 {
     this.localConnectionState = localConnectionState;
     this.filter = filter;
     Task        = localConnectionState.Task.ContinueWith(task =>
     {
         task.AssertNotFailed();
         return((IObservable <T>) this);
     });
 }