共用方式為


StorageProviderExtensions 類別

定義

public static class StorageProviderExtensions
type StorageProviderExtensions = class
Public Module StorageProviderExtensions
繼承
StorageProviderExtensions

方法

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

將粒度儲存提供者實作新增至接收器。 如果提供者類型實作 ILifecycleParticipant<TLifecycleObservable> ,它會自動參與接收器生命週期。

適用於