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

实现

适用于