Partager via


ILogConsistentGrain.InstallAdaptor Méthode

Définition

appelé juste après la construction du grain pour installer l’adaptateur de vue de journal

public void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Public Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices)

Paramètres

factory
ILogViewAdaptorFactory

Fabrique d’adaptateur à utiliser

state
Object

État initial de la vue

grainTypeName
String

Nom du type du grain

storageProvider
IStorageProvider

Le fournisseur de stockage, si nécessaire

services
ILogConsistencyProtocolServices

Services de protocole

S’applique à