Skip to content

PersistentStreamProvider.ParticipateIn(IServiceProvider, string)

ParticipateIn(IServiceProvider, string)

static
View source
public static ILifecycleParticipant<TLifecycle> ParticipateIn<TLifecycle>(IServiceProvider serviceProvider, string name)
Gets the named persistent stream provider as a participant in the specified lifecycle.

Parameters

serviceProviderIServiceProvider
The service provider.
namestring
The stream provider name.

Returns

The lifecycle participant for the named stream provider.