GrainStorageExtensions.GetGrainStorage 方法

定义

重载

GetGrainStorage(Grain, IServiceProvider)

获取与粒度类型关联的存储提供程序。

GetGrainStorage(Type, IServiceProvider)

获取与粒度类型关联的存储提供程序。

GetGrainStorage(Grain, IServiceProvider)

Source:
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)

Source:
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

返回

适用于