StateStorageBridge<TState> 构造函数

定义

重载

StateStorageBridge<TState>(String, IGrainContext, IGrainStorage)
StateStorageBridge<TState>(String, GrainReference, IGrainStorage, ILoggerFactory)
StateStorageBridge<TState>(String, IGrainContext, IGrainStorage, ILoggerFactory, IActivatorProvider)
已过时.

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

适用于

StateStorageBridge<TState>(String, GrainReference, IGrainStorage, ILoggerFactory)

Source:
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
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
loggerFactory
ILoggerFactory
activatorProvider
IActivatorProvider
属性

适用于