Redigera

Dela via


GrainStorageExtensions.GetGrainStorage Method

Definition

Overloads

GetGrainStorage(Grain, IServiceProvider)

Acquire the storage provider associated with the grain type.

GetGrainStorage(Type, IServiceProvider)

Aquire the storage provider associated with the grain type.

GetGrainStorage(Grain, IServiceProvider)

Source:
GrainStorageExtensions.cs

Acquire the storage provider associated with the grain type.

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

Parameters

grain
Grain
services
IServiceProvider

Returns

Applies to

GetGrainStorage(Type, IServiceProvider)

Source:
GrainStorageExtensions.cs

Aquire the storage provider associated with the grain type.

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

Parameters

grainType
Type
services
IServiceProvider

Returns

Applies to