Redigera

Dela via


ILifecycleSubject Interface

Definition

Both a lifecycle observer and observable lifecycle.

public interface ILifecycleSubject : Orleans.ILifecycleObservable, Orleans.ILifecycleObserver
type ILifecycleSubject = interface
    interface ILifecycleObservable
    interface ILifecycleObserver
Public Interface ILifecycleSubject
Implements ILifecycleObservable, ILifecycleObserver
Derived
Implements

Methods

OnStart(CancellationToken)

Handle start notifications.

(Inherited from ILifecycleObserver)
OnStop(CancellationToken)

Handle stop notifications.

(Inherited from ILifecycleObserver)
Subscribe(String, Int32, ILifecycleObserver)

Subscribe for notification when a stage is reached while starting or stopping.

(Inherited from ILifecycleObservable)

Extension 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, ILifecycleObserver)

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.

Applies to