LogConsistencyProvider.MakeLogViewAdaptor Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Erstellen eines Protokollansichtsadapters |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Erstellen eines Protokollansichtsadapters |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices) |
Erstellen eines Protokollansichtsadapters |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
Erstellen eines Protokollansichtsadapters
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)
Typparameter
- TView
Der Typ der Ansicht
- TEntry
Der Typ der Protokolleinträge
Parameter
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Das Körnchen, das diesen Adapter hosten soll
- initialState
- TView
Der Anfangszustand für diese Ansicht
- grainTypeName
- String
Der Typname des Grains
- grainStorage
- IGrainStorage
Speicheranbieter
- services
- ILogConsistencyProtocolServices
Laufzeitdienste für Multiclusterkohärenzprotokolle
Gibt zurück
Implementiert
Gilt für:
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
- Quelle:
- LogConsistencyProvider.cs
Erstellen eines Protokollansichtsadapters
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)
Typparameter
- TView
Der Typ der Ansicht
- TEntry
Der Typ der Protokolleinträge
Parameter
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Das Körnchen, das diesen Adapter hosten soll
- initialState
- TView
Der Anfangszustand für diese Ansicht
- grainTypeName
- String
Der Typname des Grains
- grainStorage
- IGrainStorage
Speicheranbieter
- services
- ILogConsistencyProtocolServices
Laufzeitdienste für Multiclusterkohärenzprotokolle
Gibt zurück
Implementiert
Gilt für:
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)
Erstellen eines Protokollansichtsadapters
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)
Typparameter
- TView
Der Typ der Ansicht
- TEntry
Der Typ der Protokolleinträge
Parameter
- hostGrain
- ILogViewAdaptorHost<TView,TEntry>
Das Körnchen, das diesen Adapter hosten soll
- initialState
- TView
Der Anfangszustand für diese Ansicht
- grainTypeName
- String
Der Typname des Grains
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices
Laufzeitdienste für Multiclusterkohärenzprotokolle