Поделиться через


ILogViewAdaptorFactory.MakeLogViewAdaptor Метод

Определение

Перегрузки

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

Создайте объект ILogViewAdaptor<TLogView,TLogEntry> для установки в заданном наборе узлов.

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

Создайте объект ILogViewAdaptor<TLogView,TLogEntry> для установки в заданном наборе узлов.

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

Исходный код:
ILogViewAdaptorFactory.cs

Создайте объект 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)

Создайте объект 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

Возвращаемое значение

Применяется к