Dela via


RelationalCompositeMethodCallTranslatorDependencies.With Method

Definition

Overloads

With(IDiagnosticsLogger<DbLoggerCategory.Query>)

Clones this dependency parameter object with one service replaced.

With(IEnumerable<IMethodCallTranslatorPlugin>)

Clones this dependency parameter object with one service replaced.

With(IDiagnosticsLogger<DbLoggerCategory.Query>)

Source:
RelationalCompositeMethodCallTranslatorDependencies.cs
Source:
RelationalCompositeMethodCallTranslatorDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies
Public Function With (logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)) As RelationalCompositeMethodCallTranslatorDependencies

Parameters

logger
IDiagnosticsLogger<DbLoggerCategory.Query>

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEnumerable<IMethodCallTranslatorPlugin>)

Source:
RelationalCompositeMethodCallTranslatorDependencies.cs

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslatorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies
Public Function With (plugins As IEnumerable(Of IMethodCallTranslatorPlugin)) As RelationalCompositeMethodCallTranslatorDependencies

Parameters

plugins
IEnumerable<IMethodCallTranslatorPlugin>

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to