Skip to content

LifecycleParticipantExtensions Methods

Extensions for Orleans.ILifecycleParticipant.

ParticipateIn(ILifecycleParticipant<ILifecycleObservable>)

staticextension
View source
public static ILifecycleParticipant<TLifecycle> ParticipateIn<TLifecycle>(this ILifecycleParticipant<ILifecycleObservable> participant)
Conforms components written to participate with any ILifecycleObservable to take part in specific lifecycles.

Parameters

participantILifecycleParticipant<ILifecycleObservable>
The lifecycle participant.

Returns

An adapter wrapped around participant which implements Orleans.ILifecycleParticipant.