LogConsistencyProvider.MakeLogViewAdaptor Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Créer un adaptateur de vue de journal |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Créer un adaptateur de vue de journal |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices) |
Créer un adaptateur de vue de journal |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
Créer un adaptateur de vue de journal
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)
Paramètres de type
- TView
Type de la vue
- TEntry
Type des entrées de journal
Paramètres
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Le grain qui héberge cet adaptateur
- initialState
- TView
État initial de cette vue
- grainTypeName
- String
Nom du type du grain
- grainStorage
- IGrainStorage
Fournisseur de stockage
- services
- ILogConsistencyProtocolServices
Services d’exécution pour les protocoles de cohérence multi-cluster
Retours
Implémente
S’applique à
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
- Source:
- LogConsistencyProvider.cs
Créer un adaptateur de vue de journal
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)
Paramètres de type
- TView
Type de la vue
- TEntry
Type des entrées de journal
Paramètres
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Le grain qui héberge cet adaptateur
- initialState
- TView
État initial de cette vue
- grainTypeName
- String
Nom du type du grain
- grainStorage
- IGrainStorage
Fournisseur de stockage
- services
- ILogConsistencyProtocolServices
Services d’exécution pour les protocoles de cohérence multi-cluster
Retours
Implémente
S’applique à
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)
Créer un adaptateur de vue de journal
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)
Paramètres de type
- TView
Type de la vue
- TEntry
Type des entrées de journal
Paramètres
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Le grain qui héberge cet adaptateur
- initialState
- TView
État initial de cette vue
- grainTypeName
- String
Nom du type du grain
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices
Services d’exécution pour les protocoles de cohérence multi-cluster