Edit

Share via


FaultInjectionGrainStorage Constructor

Definition

Default constructor which creates the decorated storage provider.

public FaultInjectionGrainStorage (Orleans.Storage.IGrainStorage realStorageProvider, string name, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.IGrainFactory grainFactory, Orleans.TestingHost.FaultInjectionGrainStorageOptions faultInjectionOptions);
new Orleans.TestingHost.FaultInjectionGrainStorage : Orleans.Storage.IGrainStorage * string * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.IGrainFactory * Orleans.TestingHost.FaultInjectionGrainStorageOptions -> Orleans.TestingHost.FaultInjectionGrainStorage
Public Sub New (realStorageProvider As IGrainStorage, name As String, loggerFactory As ILoggerFactory, grainFactory As IGrainFactory, faultInjectionOptions As FaultInjectionGrainStorageOptions)

Parameters

realStorageProvider
IGrainStorage

The real storage provider.

name
String

The storage provider name.

loggerFactory
ILoggerFactory

The logger factory.

grainFactory
IGrainFactory

The grain factory.

faultInjectionOptions
FaultInjectionGrainStorageOptions

The fault injection options.

Applies to