Skip to main content

Subscribe Method

Notifies the provider that an observer is to receive notifications.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public IDisposable Subscribe(
IObserver<Object?> observer
)

Parameters

  IObserver(Object)
The object that is to receive notifications.

Return Value

IDisposable
A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.

Implements

IObservable(T).Subscribe(IObserver(T))

See Also

Reference

IndexerDescriptor Class
Avalonia.Data Namespace