JournaledGrain<TGrainState,TEventBase>.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.
Overloads
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices) |
Called right after grain is constructed, to install the adaptor. The log-consistency provider contains a factory method that constructs the adaptor with chosen types for this grain |
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices) |
Called right after grain is constructed, to install the adaptor. The log-consistency provider contains a factory method that constructs the adaptor with chosen types for this grain |
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)
Called right after grain is constructed, to install the adaptor. The log-consistency provider contains a factory method that constructs the adaptor with chosen types for this grain
protected override void InstallAdaptor (Orleans.EventSourcing.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services);
override this.InstallAdaptor : Orleans.EventSourcing.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> unit
Protected Overrides Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)
Parameters
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices
Applies to
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)
- Source:
- JournaledGrain.cs
Called right after grain is constructed, to install the adaptor. The log-consistency provider contains a factory method that constructs the adaptor with chosen types for this grain
protected override void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
override this.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Protected Overrides Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)
Parameters
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices