StateStorageBridge<TState> Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
StateStorageBridge<TState>(String, IGrainContext, IGrainStorage)
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store);
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainContext As IGrainContext, store As IGrainStorage)
Параметры
- name
- String
- grainContext
- IGrainContext
- store
- IGrainStorage
Применяется к
StateStorageBridge<TState>(String, GrainReference, IGrainStorage, ILoggerFactory)
- Исходный код:
- StateStorageBridge.cs
public StateStorageBridge (string name, Orleans.Runtime.GrainReference grainRef, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Core.StateStorageBridge<'State (requires 'State : (new : unit -> 'State))> : string * Orleans.Runtime.GrainReference * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Core.StateStorageBridge<'State (requires 'State : (new : unit -> 'State))>
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.GrainReference * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainRef As GrainReference, store As IGrainStorage, loggerFactory As ILoggerFactory)
Параметры
- name
- String
- grainRef
- GrainReference
- store
- IGrainStorage
- loggerFactory
- ILoggerFactory
Применяется к
StateStorageBridge<TState>(String, IGrainContext, IGrainStorage, ILoggerFactory, IActivatorProvider)
Внимание!
Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Serialization.Serializers.IActivatorProvider activatorProvider);
[System.Obsolete("Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.")]
public StateStorageBridge (string name, Orleans.Runtime.IGrainContext grainContext, Orleans.Storage.IGrainStorage store, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Serialization.Serializers.IActivatorProvider activatorProvider);
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Serialization.Serializers.IActivatorProvider -> Orleans.Core.StateStorageBridge<'State>
[<System.Obsolete("Use StateStorageBridge(string, IGrainContext, IGrainStorage) instead.")>]
new Orleans.Core.StateStorageBridge<'State> : string * Orleans.Runtime.IGrainContext * Orleans.Storage.IGrainStorage * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Serialization.Serializers.IActivatorProvider -> Orleans.Core.StateStorageBridge<'State>
Public Sub New (name As String, grainContext As IGrainContext, store As IGrainStorage, loggerFactory As ILoggerFactory, activatorProvider As IActivatorProvider)
Параметры
- name
- String
- grainContext
- IGrainContext
- store
- IGrainStorage
- loggerFactory
- ILoggerFactory
- activatorProvider
- IActivatorProvider
- Атрибуты