Compartir a través de


ILogViewAdaptorFactory.MakeLogViewAdaptor<TLogView,TLogEntry> Método

Definición

Construye un objeto ILogViewAdaptor<TLogView,TLogEntry> que se va a instalar en el grano de host especificado.

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)

Parámetros de tipo

TLogView

Tipo de la vista

TLogEntry

Tipo de las entradas de registro

Parámetros

initialstateinitialState
TLogView
graintypenamegrainTypeName
String
grainStorage
IGrainStorage

Proveedor de almacenamiento

services
ILogConsistencyProtocolServices

Servicios en tiempo de ejecución para protocolos de coherencia de varios clústeres

Devoluciones

Se aplica a