Partager via


FaultInjectionGrainStorageFactory.Create Méthode

Définition

Crée une instance 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

Paramètres

services
IServiceProvider

Les services.

name
String

Nom du fournisseur de stockage.

injectedGrainStorageFactory
Func<IServiceProvider,String,IGrainStorage>

Fabrique de stockage de grains injectés.

Retours

Nouvelle instance.

S’applique à