ExecutionStrategyContext ExecutionStrategyContext Class

Definition

A class that provides dependencies for ExecutionStrategy

public class ExecutionStrategyContext
Public Class ExecutionStrategyContext
Inheritance
System.ObjectSystem.Object
ExecutionStrategyContextExecutionStrategyContext

Constructors

ExecutionStrategyContext(DbContext, ILogger) ExecutionStrategyContext(DbContext, ILogger(Of IExecutionStrategy))

Creates a new instance of ExecutionStrategyContext.

public ExecutionStrategyContext(DbContext context, ILogger<IExecutionStrategy> logger)
Public Sub New(context As DbContext, logger As ILogger(Of IExecutionStrategy))
Parameters
context
DbContext DbContext

The context on which the operations will be invoked.

logger
ILogger<IExecutionStrategy> ILogger(Of IExecutionStrategy)

The logger to be used.

Properties

Context Context

The context on which the operations will be invoked.

public virtual DbContext Context { get; }
Public Overridable ReadOnly Property Context As DbContext

Logger Logger

The logger for the ExecutionStrategy.

public virtual ILogger<IExecutionStrategy> Logger { get; }
Public Overridable ReadOnly Property Logger As ILogger(Of IExecutionStrategy)
Value
ILogger<IExecutionStrategy> ILogger(Of IExecutionStrategy)

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object