ToBinding<T> Method
Converts an IObservable(T) to an IBinding.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static IBinding ToBinding<T>(
this IObservable<T> source
)
<ExtensionAttribute>
Public Shared Function ToBinding(Of T) (
source As IObservable(Of T)
) As IBinding
[<ExtensionAttribute>]
static member ToBinding :
source : IObservable<'T> -> IBinding
Parameters
- IObservable(T)
- The observable
Type Parameters
- The type produced by the observable.
Return Value
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable(T). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).