LightweightObservableBase<T> Class

Summary

Lightweight base class for observable implementations.
Namespace
Avalonia.Reactive
Interfaces
  • IObservable<T>
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type-.->Interface0["IObservable<T>"] Type["LightweightObservableBase<T>"] class Type type-node Derived0["BindingExpression"]-->Type click Derived0 "/api/Avalonia.Data.Core/BindingExpression" Derived1["ExpressionObserver"]-->Type click Derived1 "/api/Avalonia.Data.Core/ExpressionObserver"

Syntax

public abstract class LightweightObservableBase<T> : IObservable<T>

Remarks

ObservableBase<T> is rather heavyweight in terms of allocations and memory usage. This class provides a more lightweight base for some internal observable types in the Avalonia framework.

Type Parameters

Name Description
T The observable type.

Methods

Extension Methods