JournaledGrain<TGrainState,TEventBase>.InstallAdaptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices) |
构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器 |
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices) |
构造 grain 后立即调用 ,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器 |
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)
构造 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)
参数
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices
适用于
InstallAdaptor(ILogViewAdaptorFactory, Object, String, IGrainStorage, ILogConsistencyProtocolServices)
- Source:
- JournaledGrain.cs
构造 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)
参数
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices