Bewerken

Delen via


LifecycleParticipantExtensions.ParticipateIn<TLifecycle> Method

Definition

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>.

Applies to