共用方式為


JournaledGrain<TGrainState,TEventBase>.ILogConsistentGrain.InstallAdaptor 方法

定義

在建構粒紋之後立即呼叫,以安裝配接器。 記錄一致性提供者包含處理站方法,可針對此粒紋建構具有所選類型的配接器

void ILogConsistentGrain.InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
override this.Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) Implements ILogConsistentGrain.InstallAdaptor

參數

initialState
Object
graintypename
String
storageProvider
IStorageProvider

實作

適用於