Düzenle

Aracılığıyla paylaş


TransactionalState<TState> Constructors

Definition

Overloads

TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)
TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILoggerFactory)
TransactionalState<TState>(TransactionalStateConfiguration, IGrainContextAccessor, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)

TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)

Source:
TransactionalState.cs
public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<TState>> logger);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<'State>> -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionalState(Of TState)))

Parameters

transactionalStateConfiguration
TransactionalStateConfiguration
copier
ITransactionDataCopier<TState>
grainRuntime
IGrainRuntime
logger
ILogger<TransactionalState<TState>>

Applies to

TransactionalState<TState>(TransactionalStateConfiguration, IGrainActivationContext, ITransactionDataCopier<TState>, IGrainRuntime, ILoggerFactory)

public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainActivationContext context, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainActivationContext * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, context As IGrainActivationContext, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, loggerFactory As ILoggerFactory)

Parameters

transactionalStateConfiguration
TransactionalStateConfiguration
copier
ITransactionDataCopier<TState>
grainRuntime
IGrainRuntime
loggerFactory
ILoggerFactory

Applies to

TransactionalState<TState>(TransactionalStateConfiguration, IGrainContextAccessor, ITransactionDataCopier<TState>, IGrainRuntime, ILogger<TransactionalState<TState>>)

public TransactionalState (Orleans.Transactions.Abstractions.TransactionalStateConfiguration transactionalStateConfiguration, Orleans.Runtime.IGrainContextAccessor contextAccessor, Orleans.Transactions.Abstractions.ITransactionDataCopier<TState> copier, Orleans.Runtime.IGrainRuntime grainRuntime, Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<TState>> logger);
new Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))> : Orleans.Transactions.Abstractions.TransactionalStateConfiguration * Orleans.Runtime.IGrainContextAccessor * Orleans.Transactions.Abstractions.ITransactionDataCopier<'State (requires 'State : null and 'State : (new : unit -> 'State))> * Orleans.Runtime.IGrainRuntime * Microsoft.Extensions.Logging.ILogger<Orleans.Transactions.TransactionalState<'State>> -> Orleans.Transactions.TransactionalState<'State (requires 'State : null and 'State : (new : unit -> 'State))>
Public Sub New (transactionalStateConfiguration As TransactionalStateConfiguration, contextAccessor As IGrainContextAccessor, copier As ITransactionDataCopier(Of TState), grainRuntime As IGrainRuntime, logger As ILogger(Of TransactionalState(Of TState)))

Parameters

transactionalStateConfiguration
TransactionalStateConfiguration
contextAccessor
IGrainContextAccessor
copier
ITransactionDataCopier<TState>
grainRuntime
IGrainRuntime
logger
ILogger<TransactionalState<TState>>

Applies to