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.EventSourcing.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.EventSourcing.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.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 de l’adaptateur à utiliser

state
Object

État initial de la vue

grainTypeName
String

Nom de type du grain

grainStorage
IGrainStorage

Stockage du grain, si nécessaire

services
ILogConsistencyProtocolServices

Services de protocole

S’applique à