AutoSuspendHelper Class

A ReactiveUI AutoSuspendHelper which initializes suspension hooks for Avalonia applications. Call its constructor in your app's composition root, before calling the RxApp.SuspensionHost.SetupDefaultSuspendResume method.

Definition

Namespace: Avalonia.ReactiveUI
Assembly: Avalonia.ReactiveUI (in Avalonia.ReactiveUI.dll) Version: 11.3.999
public sealed class AutoSuspendHelper : IEnableLogger, 
	IDisposable
Inheritance
Object    AutoSuspendHelper
Implements
IEnableLogger, IDisposable

Methods

Dispose Disposes internally stored observers.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
OnFrameworkInitializationCompleted Call this method in your App.OnFrameworkInitializationCompleted method.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also