LogConsistencyProvider.MakeLogViewAdaptor Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Создайте объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла. |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices) |
Создайте объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла. |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices) |
Создает объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла. |
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
- Исходный код:
- LogConsistencyProvider.cs
Создайте объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла.
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)
Параметры типа
- TView
- TEntry
Параметры
- hostgrain
- ILogViewAdaptorHost<TView,TEntry>
- initialstate
- TView
- graintypename
- String
- grainStorage
- IGrainStorage
- services
- ILogConsistencyProtocolServices
Возвращаемое значение
Реализации
Применяется к
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IStorageProvider, ILogConsistencyProtocolServices)
Создайте объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла.
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)
Параметры типа
- TView
- TEntry
Параметры
- hostgrain
- ILogViewAdaptorHost<TView,TEntry>
- initialstate
- TView
- graintypename
- String
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices
Возвращаемое значение
Реализации
Применяется к
MakeLogViewAdaptor<TView,TEntry>(ILogViewAdaptorHost<TView,TEntry>, TView, String, IGrainStorage, ILogConsistencyProtocolServices)
Создает объект для ILogViewAdaptor<TLogView,TLogEntry> установки в заданной области узла.
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;
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)
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)
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)
Параметры типа
- TView
- TEntry
Параметры
- hostgrainhostGrain
- ILogViewAdaptorHost<TView,TEntry>
- initialstateinitialState
- TView
- graintypenamegrainTypeName
- String
- grainStorage
- IGrainStorage
Поставщик хранилища
- services
- ILogConsistencyProtocolServices
Службы среды выполнения для протоколов согласованности между несколькими кластерами