LogConsistencyProvider.MakeLogViewAdaptor Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Tornar o adaptador de exibição de log |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Tornar o adaptador de exibição de log |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices) |
Tornar o adaptador de exibição de log |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
Tornar o adaptador de exibição de log
public Orleans.EventSourcing.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.EventSourcing.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.EventSourcing.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.EventSourcing.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.EventSourcing.ILogConsistencyProtocolServices -> Orleans.EventSourcing.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)
Parâmetros de tipo
- TView
O tipo da exibição
- TEntry
O tipo das entradas de log
Parâmetros
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
O grão que está hospedando este adaptador
- initialState
- TView
O estado inicial para essa exibição
- grainTypeName
- String
O nome do tipo da granularidade
- grainStorage
- IGrainStorage
Provedor de armazenamento
- services
- ILogConsistencyProtocolServices
Serviços de runtime para protocolos de coerência de vários clusters
Retornos
Implementações
Aplica-se a
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
- Origem:
- LogConsistencyProvider.cs
Tornar o adaptador de exibição de log
public Orleans.LogConsistency.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)
Parâmetros de tipo
- TView
O tipo da exibição
- TEntry
O tipo das entradas de log
Parâmetros
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
O grão que está hospedando este adaptador
- initialState
- TView
O estado inicial para essa exibição
- grainTypeName
- String
O nome do tipo da granularidade
- grainStorage
- IGrainStorage
Provedor de armazenamento
- services
- ILogConsistencyProtocolServices
Serviços de runtime para protocolos de coerência de vários clusters
Retornos
Implementações
Aplica-se a
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)
Tornar o adaptador de exibição de log
public Orleans.LogConsistency.ILogViewAdaptor<TView,TEntry> MakeLogViewAdaptor<TView,TEntry> (Orleans.LogConsistency.ILogViewAdaptorHost<TView,TEntry> hostGrain, TView initialState, string grainTypeName, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services) where TView : class, new() where TEntry : class;
abstract member MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
override this.MakeLogViewAdaptor : Orleans.LogConsistency.ILogViewAdaptorHost<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> * 'View * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> Orleans.LogConsistency.ILogViewAdaptor<'View, 'Entry (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)> (requires 'View : null and 'View : (new : unit -> 'View) and 'Entry : null)
Public Function MakeLogViewAdaptor(Of TView As {Class, New}, TEntry As {Class, New}) (hostGrain As ILogViewAdaptorHost(Of TView, TEntry), initialState As TView, grainTypeName As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) As ILogViewAdaptor(Of TView, TEntry)
Parâmetros de tipo
- TView
O tipo da exibição
- TEntry
O tipo das entradas de log
Parâmetros
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
O grão que está hospedando este adaptador
- initialState
- TView
O estado inicial para essa exibição
- grainTypeName
- String
O nome do tipo da granularidade
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices
Serviços de runtime para protocolos de coerência de vários clusters