Summary
Lightweight base class for observable implementations.
- Namespace
- Avalonia
.Reactive - Interfaces
-
- IObservable
<T>
- IObservable
- 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
Name | Value | Summary |
---|---|---|
Deinitialize |
void | |
Initialize |
void | |
PublishCompleted |
void | |
PublishError |
void | |
PublishNext |
void | |
Subscribe |
IDisposable | |
Subscribed |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
StreamBinding |
T | |
ToBinding |
IBinding |
Converts an
IObservable<T> to an IBinding .
|
ToBindingValue |
IObservable |