LifecycleParticipantExtensions.ParticipateIn<TLifecycle> Method
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.
Conforms components written to participate with any ILifecycleObservable to take part in specific lifecycles.
public static Orleans.ILifecycleParticipant<TLifecycle> ParticipateIn<TLifecycle> (this Orleans.ILifecycleParticipant<Orleans.ILifecycleObservable> participant) where TLifecycle : Orleans.ILifecycleObservable;
static member ParticipateIn : Orleans.ILifecycleParticipant<Orleans.ILifecycleObservable> -> Orleans.ILifecycleParticipant<'Lifecycle (requires 'Lifecycle :> Orleans.ILifecycleObservable)> (requires 'Lifecycle :> Orleans.ILifecycleObservable)
<Extension()>
Public Function ParticipateIn(Of TLifecycle As ILifecycleObservable) (participant As ILifecycleParticipant(Of ILifecycleObservable)) As ILifecycleParticipant(Of TLifecycle)
Type Parameters
- TLifecycle
The target lifecycle observer type.
Parameters
- participant
- ILifecycleParticipant<ILifecycleObservable>
The lifecycle participant.
Returns
ILifecycleParticipant<TLifecycle>
An adapter wrapped around participant
which implements ILifecycleParticipant<TLifecycleObservable>.