Condividi tramite


FaultInjectionGrainStorageFactory.Create Metodo

Definizione

Crea una nuova istanza di FaultInjectionGrainStorage.

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

Parametri

services
IServiceProvider

Servizi.

name
String

Nome del provider di archiviazione.

injectedGrainStorageFactory
Func<IServiceProvider,String,IGrainStorage>

Fabbrica di archiviazione di cereali inserita.

Restituisce

Nuova istanza.

Si applica a