ReactiveUI.Primitives.Advanced.KeepNotNullWitness<T> public sealed class KeepNotNullWitness<T> : IObserver<T>, IDisposable Sink that forwards only non-null values. Documentation Code public KeepNotNullWitness(IObserver<T> observer) Initializes a new instance of the KeepNotNullWitness<T> class. public void Dispose() public void OnCompleted() public void OnError(Exception error) public void OnNext(T value) public void SetSubscription(IDisposable subscription) Assigns the upstream subscription, disposing it if one is already held.