IndexerDescriptorSubscribe Method
Notifies the provider that an observer is to receive notifications.
Namespace: Avalonia.DataAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public IDisposable Subscribe(
IObserver<Object?> observer
)
Public Function Subscribe (
observer As IObserver(Of Object)
) As IDisposable
abstract Subscribe :
observer : IObserver<Object> -> IDisposable
override Subscribe :
observer : IObserver<Object> -> IDisposable
- observer IObserverObject
- The object that is to receive notifications.
IDisposableA reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.
IObservableTSubscribe(IObserverT)