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
Параметры
- hostgrain
- ILogViewAdaptorHost<TLogView,TLogEntry>
- initialstate
- TLogView
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices
Возвращаемое значение
Применяется к
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
Параметры
- hostgrain
- ILogViewAdaptorHost<TLogView,TLogEntry>
- initialstate
- TLogView
- graintypename
- String
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices