Edit

Share via


LifecycleExtensions Class

Definition

Extensions for working with lifecycle observers.

public static class LifecycleExtensions
type LifecycleExtensions = class
Public Module LifecycleExtensions
Inheritance
LifecycleExtensions

Methods

OnStart(ILifecycleObserver)
OnStop(ILifecycleObserver)
Subscribe(ILifecycleObservable, Int32, ILifecycleObserver)

Creates a disposable subscription to the lifecycle.

Subscribe(ILifecycleObservable, String, Int32, Func<CancellationToken,Task>, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe(ILifecycleObservable, String, Int32, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, Func<CancellationToken,Task>, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, Func<CancellationToken,Task>)

Creates a disposable subscription to the lifecycle.

Subscribe<TObserver>(ILifecycleObservable, Int32, ILifecycleObserver)

Creates a disposable subscription to the lifecycle.

Applies to