ILogViewAdaptorFactory.MakeLogViewAdaptor 方法

定义

重载

MakeLogViewAdaptor<TLogView,TLogEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, String, IGrainStorage, ILogConsistencyProtocolServices)

构造要安装在给定主机粒度中的 A ILogViewAdaptor<TLogView,TLogEntry>

MakeLogViewAdaptor<TLogView,TLogEntry>(ILogViewAdaptorHost<TLogView,TLogEntry>, TLogView, String, IStorageProvider, ILogConsistencyProtocolServices)

构造要安装在给定主机粒度中的 A ILogViewAdaptor<TLogView,TLogEntry>

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

参数

initialstate
TLogView
graintypename
String
grainStorage
IGrainStorage

返回

适用于

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

参数

initialstate
TLogView
graintypename
String
storageProvider
IStorageProvider

返回

适用于