次の方法で共有


ModelValidatorDependencies.With メソッド

定義

オーバーロード

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(IMemberClassifier)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(ITypeMappingSource)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

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

パラメーター

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

public Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies
Public Function With (modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model)) As ModelValidatorDependencies

パラメーター

modelLogger
IDiagnosticsLogger<DbLoggerCategory.Model>

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象

With(IMemberClassifier)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

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

パラメーター

memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

属性

適用対象

With(ITypeMappingSource)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

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

パラメーター

typeMappingSource
ITypeMappingSource

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象