Skip to content

)}

WhereNotNullExtension.WhereNotNull(IObservable) method

Defined in

Type: WhereNotNullExtension Namespace: System.Reactive.Linq Assembly: Sextant.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, netstandard2.0, net471

Deprecated

This extension method causes conflicts in the System.Reactive.Linq namespace

Attributes: [Obsolete("This extension method causes conflicts in the System.Reactive.Linq namespace")]

public static IObservable<T> WhereNotNull<T>(this IObservable<T?> observable)

View source

Summary: Adds a condition to the signaling of an observable which will not fire unless the value is not null.

Type parameters

NameDescription
TThe type of the observable.

Parameters

NameTypeDescription
observableIObservableThe observable to add the condition to.

Returns: IObservable -- An observable which will not signal unless the value is not null.