共用方式為


GrainStorageExtensions.GetGrainStorage 方法

定義

多載

GetGrainStorage(Grain, IServiceProvider)

取得與粒紋類型相關聯的儲存提供者。

GetGrainStorage(Type, IServiceProvider)

取得與粒紋類型相關聯的儲存提供者。

GetGrainStorage(Grain, IServiceProvider)

來源:
GrainStorageExtensions.cs

取得與粒紋類型相關聯的儲存提供者。

public static Orleans.Storage.IGrainStorage GetGrainStorage (this Orleans.Grain grain, IServiceProvider services);
static member GetGrainStorage : Orleans.Grain * IServiceProvider -> Orleans.Storage.IGrainStorage
<Extension()>
Public Function GetGrainStorage (grain As Grain, services As IServiceProvider) As IGrainStorage

參數

grain
Grain
services
IServiceProvider

傳回

適用於

GetGrainStorage(Type, IServiceProvider)

來源:
GrainStorageExtensions.cs

取得與粒紋類型相關聯的儲存提供者。

public static Orleans.Storage.IGrainStorage GetGrainStorage (this Type grainType, IServiceProvider services);
static member GetGrainStorage : Type * IServiceProvider -> Orleans.Storage.IGrainStorage
<Extension()>
Public Function GetGrainStorage (grainType As Type, services As IServiceProvider) As IGrainStorage

參數

grainType
Type
services
IServiceProvider

傳回

適用於