ObservableEx.

SingleValue<T>(T) Method

Summary

Returns an observable that fires once with the specified value and never completes.
Namespace
Avalonia.Reactive
Containing Type
ObservableEx

Syntax

public static IObservable<T> SingleValue<T>(T value)

Type Parameters

Name Description
T The type of the value.

Parameters

Name Type Description
value T The value.

Return Value

Type Description
IObservable<T> The observable.