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


ILogViewAdaptorFactory.MakeLogViewAdaptor<TLogView,TLogEntry> Метод

Определение

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

public Orleans.EventSourcing.ILogViewAdaptor<TLogView,TLogEntry> MakeLogViewAdaptor<TLogView,TLogEntry> (Orleans.EventSourcing.ILogViewAdaptorHost<TLogView,TLogEntry> hostgrain, TLogView initialstate, string graintypename, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services) where TLogView : class, new() where TLogEntry : class;
public Orleans.EventSourcing.ILogViewAdaptor<TLogView,TLogEntry> MakeLogViewAdaptor<TLogView,TLogEntry> (Orleans.EventSourcing.ILogViewAdaptorHost<TLogView,TLogEntry> hostGrain, TLogView initialState, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services) where TLogView : class, new() where TLogEntry : class;
abstract member MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.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)
abstract member MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'LogView, 'LogEntry (requires 'LogView : null and 'LogView : (new : unit -> 'LogView) and 'LogEntry : null)> * 'LogView * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.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)
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

Тип записей журнала

Параметры

initialstateinitialState
TLogView
graintypenamegrainTypeName
String
grainStorage
IGrainStorage

Поставщик хранилища

services
ILogConsistencyProtocolServices

Службы среды выполнения для протоколов согласованности нескольких кластеров

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

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