LifecycleExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>) |
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<TObserver>(ILifecycleObservable, 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, ILifecycleObserver) |
Creates a disposable subscription to the lifecycle. |