LogConsistentGrain<TView>.InstallAdaptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
called right after grain construction to install the log view adaptor
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)
Parameters
- factory
- ILogViewAdaptorFactory
The adaptor factory to use
- state
- Object
The initial state of the view
- grainTypeName
- String
The type name of the grain
- grainStorage
- IGrainStorage
The grain storage, if needed
- services
- ILogConsistencyProtocolServices
Protocol services