Прочетете на английски Редактиране

Споделяне чрез


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.

C#
public static Orleans.Storage.IGrainStorage GetGrainStorage(this Orleans.Grain grain, IServiceProvider services);

Parameters

grain
Grain
services
IServiceProvider

Returns

Applies to

.NET Orleans 3.6.0 и .NET Orleans 3.4.5
Продукт Версии
.NET Orleans 3.4.5, 3.6.0

GetGrainStorage(Type, IServiceProvider)

Source:
GrainStorageExtensions.cs

Aquire the storage provider associated with the grain type.

C#
public static Orleans.Storage.IGrainStorage GetGrainStorage(this Type grainType, IServiceProvider services);

Parameters

grainType
Type
services
IServiceProvider

Returns

Applies to

.NET Orleans 3.6.0
Продукт Версии
.NET Orleans 3.6.0