Edit

Share via


FaultInjectionGrainStorageFactory.Create Method

Definition

Creates a new FaultInjectionGrainStorage instance.

public static Orleans.Storage.IGrainStorage Create (IServiceProvider services, string name, Func<IServiceProvider,string,Orleans.Storage.IGrainStorage> injectedGrainStorageFactory);
static member Create : IServiceProvider * string * Func<IServiceProvider, string, Orleans.Storage.IGrainStorage> -> Orleans.Storage.IGrainStorage
Public Shared Function Create (services As IServiceProvider, name As String, injectedGrainStorageFactory As Func(Of IServiceProvider, String, IGrainStorage)) As IGrainStorage

Parameters

services
IServiceProvider

The services.

name
String

The storage provider name.

injectedGrainStorageFactory
Func<IServiceProvider,String,IGrainStorage>

The injected grain storage factory.

Returns

The new instance.

Applies to