ILogViewAdaptorFactory.MakeLogViewAdaptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MakeLogViewAdaptor<TLogView,TLogEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, String, IGrainStorage, ILogConsistencyProtocolServices)
- Source:
- ILogViewAdaptorFactory.cs
构造要安装在给定主机粒度中的 A ILogViewAdaptor<TLogView,TLogEntry> 。
public Orleans.LogConsistency.ILogViewAdaptor<TLogView,TLogEntry> MakeLogViewAdaptor<TLogView,TLogEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TLogView,TLogEntry> hostgrain, TLogView initialstate, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TLogView : class, new() where TLogEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)
Public Function MakeLogViewAdaptor(Of TLogView As {Class, New}, TLogEntry As {Class, New}) (hostgrain As ILogViewAdaptorHost(Of TLogView, TLogEntry), initialstate As TLogView, graintypename As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TLogView, TLogEntry)
类型参数
- TLogView
- TLogEntry
参数
- hostgrain
- ILogViewAdaptorHost<TLogView,TLogEntry>
- initialstate
- TLogView
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices
返回
适用于
MakeLogViewAdaptor<TLogView,TLogEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, String, IStorageProvider, ILogConsistencyProtocolServices)
构造要安装在给定主机粒度中的 A ILogViewAdaptor<TLogView,TLogEntry> 。
public Orleans.LogConsistency.ILogViewAdaptor<TLogView,TLogEntry> MakeLogViewAdaptor<TLogView,TLogEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TLogView,TLogEntry> hostgrain, TLogView initialstate, string graintypename, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TLogView : class, new() where TLogEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)
Public Function MakeLogViewAdaptor(Of TLogView As {Class, New}, TLogEntry As {Class, New}) (hostgrain As ILogViewAdaptorHost(Of TLogView, TLogEntry), initialstate As TLogView, graintypename As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TLogView, TLogEntry)
类型参数
- TLogView
- TLogEntry
参数
- hostgrain
- ILogViewAdaptorHost<TLogView,TLogEntry>
- initialstate
- TLogView
- graintypename
- String
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices