Edit

Share via


DirectorySiloBuilderExtensions Class

Definition

public static class DirectorySiloBuilderExtensions
type DirectorySiloBuilderExtensions = class
Public Module DirectorySiloBuilderExtensions
Inheritance
DirectorySiloBuilderExtensions

Methods

AddGrainDirectory<T>(IServiceCollection, String, Func<IServiceProvider,String,T>)

Add a grain directory provider implementation to the silo. If the provider type implements ILifecycleParticipant<TLifecycleObservable> it will automatically participate to the silo lifecycle.

AddGrainDirectory<T>(ISiloBuilder, String, Func<IServiceProvider,String,T>)

Add a grain directory provider implementation to the silo. If the provider type implements ILifecycleParticipant<TLifecycleObservable> it will automatically participate to the silo lifecycle.

GetGrainDirectory(IServiceProvider, String)

Get the directory registered with name.

Applies to