共用方式為


LogConsistentGrain<TView>.InstallAdaptor 方法

定義

在細微性建構之後呼叫 ,以安裝記錄檢視配接器

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)

參數

factory
ILogViewAdaptorFactory

要使用的配接器處理站

state
Object

檢視的初始狀態

grainTypeName
String

粒紋的類型名稱

grainStorage
IGrainStorage

如有需要,則為粒紋儲存體

services
ILogConsistencyProtocolServices

通訊協定服務

適用於