ProviderConventionSetBuilderDependencies.With 方法

定义

重载

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

克隆此依赖项参数对象,替换了一个服务。

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

克隆此依赖项参数对象,替换了一个服务。

With(ICurrentDbContext)

克隆此依赖项参数对象,替换了一个服务。

With(IDbSetFinder)

克隆此依赖项参数对象,替换了一个服务。

With(IModelValidator)

克隆此依赖项参数对象,替换了一个服务。

With(IDbSetFinder)

克隆此依赖项参数对象,替换了一个服务。

With(IConstructorBindingFactory)

克隆此依赖项参数对象,替换了一个服务。

With(IMemberClassifier)

克隆此依赖项参数对象,替换了一个服务。

With(IParameterBindingFactories)

克隆此依赖项参数对象,替换了一个服务。

With(ITypeMappingSource)

克隆此依赖项参数对象,替换了一个服务。

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (validationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation)) As ProviderConventionSetBuilderDependencies

参数

validationLogger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> logger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (logger As IDiagnosticsLogger(Of DbLoggerCategory.Model)) As ProviderConventionSetBuilderDependencies

参数

logger
IDiagnosticsLogger<DbLoggerCategory.Model>

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(ICurrentDbContext)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (currentContext As ICurrentDbContext) As ProviderConventionSetBuilderDependencies

参数

currentContext
ICurrentDbContext

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IDbSetFinder)

Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder setFinder);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbSetFinder -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (setFinder As IDbSetFinder) As ProviderConventionSetBuilderDependencies

参数

setFinder
IDbSetFinder

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IModelValidator)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator validator);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (validator As IModelValidator) As ProviderConventionSetBuilderDependencies

参数

validator
IModelValidator

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IDbSetFinder)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Internal.IDbSetFinder setFinder);
member this.With : Microsoft.EntityFrameworkCore.Internal.IDbSetFinder -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (setFinder As IDbSetFinder) As ProviderConventionSetBuilderDependencies

参数

setFinder
Microsoft.EntityFrameworkCore.Internal.IDbSetFinder

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IConstructorBindingFactory)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory constructorBindingFactory);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IConstructorBindingFactory -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (constructorBindingFactory As IConstructorBindingFactory) As ProviderConventionSetBuilderDependencies

参数

constructorBindingFactory
IConstructorBindingFactory

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IMemberClassifier)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier);
member this.With : Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.With : Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (memberClassifier As IMemberClassifier) As ProviderConventionSetBuilderDependencies

参数

memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

属性

适用于

With(IParameterBindingFactories)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories parameterBindingFactories);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IParameterBindingFactories -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (parameterBindingFactories As IParameterBindingFactories) As ProviderConventionSetBuilderDependencies

参数

parameterBindingFactories
IParameterBindingFactories

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(ITypeMappingSource)

Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs
Source:
ProviderConventionSetBuilderDependencies.cs

克隆此依赖项参数对象,替换了一个服务。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies
Public Function With (typeMappingSource As ITypeMappingSource) As ProviderConventionSetBuilderDependencies

参数

typeMappingSource
ITypeMappingSource

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于