共用方式為


MemoryGrainStorage 建構函式

定義

多載

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILogger<MemoryGrainStorage>, IGrainFactory)

預設建構函式。

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILoggerFactory, IGrainFactory)

預設建構函式。

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILogger<MemoryGrainStorage>, IGrainFactory, IGrainStorageSerializer)

初始化 MemoryGrainStorage 類別的新執行個體。

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILogger<MemoryGrainStorage>, IGrainFactory)

來源:
MemoryStorage.cs

預設建構函式。

public MemoryGrainStorage (string name, Orleans.Configuration.MemoryGrainStorageOptions options, Microsoft.Extensions.Logging.ILogger<Orleans.Storage.MemoryGrainStorage> logger, Orleans.IGrainFactory grainFactory);
new Orleans.Storage.MemoryGrainStorage : string * Orleans.Configuration.MemoryGrainStorageOptions * Microsoft.Extensions.Logging.ILogger<Orleans.Storage.MemoryGrainStorage> * Orleans.IGrainFactory -> Orleans.Storage.MemoryGrainStorage
Public Sub New (name As String, options As MemoryGrainStorageOptions, logger As ILogger(Of MemoryGrainStorage), grainFactory As IGrainFactory)

參數

name
String

名稱。

options
MemoryGrainStorageOptions

選項。

logger
ILogger<MemoryGrainStorage>

登入程式。

grainFactory
IGrainFactory

粒紋處理站。

適用於

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILoggerFactory, IGrainFactory)

預設建構函式。

public MemoryGrainStorage (string name, Orleans.Configuration.MemoryGrainStorageOptions options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.IGrainFactory grainFactory);
new Orleans.Storage.MemoryGrainStorage : string * Orleans.Configuration.MemoryGrainStorageOptions * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.IGrainFactory -> Orleans.Storage.MemoryGrainStorage
Public Sub New (name As String, options As MemoryGrainStorageOptions, loggerFactory As ILoggerFactory, grainFactory As IGrainFactory)

參數

name
String
loggerFactory
ILoggerFactory
grainFactory
IGrainFactory

適用於

MemoryGrainStorage(String, MemoryGrainStorageOptions, ILogger<MemoryGrainStorage>, IGrainFactory, IGrainStorageSerializer)

來源:
MemoryStorage.cs
來源:
MemoryStorage.cs
來源:
MemoryStorage.cs
來源:
MemoryStorage.cs

初始化 MemoryGrainStorage 類別的新執行個體。

public MemoryGrainStorage (string name, Orleans.Configuration.MemoryGrainStorageOptions options, Microsoft.Extensions.Logging.ILogger<Orleans.Storage.MemoryGrainStorage> logger, Orleans.IGrainFactory grainFactory, Orleans.Storage.IGrainStorageSerializer defaultGrainStorageSerializer);
new Orleans.Storage.MemoryGrainStorage : string * Orleans.Configuration.MemoryGrainStorageOptions * Microsoft.Extensions.Logging.ILogger<Orleans.Storage.MemoryGrainStorage> * Orleans.IGrainFactory * Orleans.Storage.IGrainStorageSerializer -> Orleans.Storage.MemoryGrainStorage
Public Sub New (name As String, options As MemoryGrainStorageOptions, logger As ILogger(Of MemoryGrainStorage), grainFactory As IGrainFactory, defaultGrainStorageSerializer As IGrainStorageSerializer)

參數

name
String

名稱。

options
MemoryGrainStorageOptions

選項。

logger
ILogger<MemoryGrainStorage>

登入程式。

grainFactory
IGrainFactory

粒紋處理站。

defaultGrainStorageSerializer
IGrainStorageSerializer

預設的粒紋記憶體串行化程式。

適用於