Partager via


LogConsistentGrain<TView>.InstallAdaptor Méthode

Définition

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

protected abstract void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Protected MustOverride Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, grainStorage As IGrainStorage, 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

grainStorage
IGrainStorage

Stockage des grains, si nécessaire

services
ILogConsistencyProtocolServices

Services de protocole

S’applique à