Edit

Share via


StorageProviderExtensions Class

Definition

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

Methods

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

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

Applies to