ModelValidatorDependencies.With Yöntem

Tanım

Aşırı Yüklemeler

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

With(IMemberClassifier)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

With(ITypeMappingSource)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

With(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

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

Parametreler

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Bu türün geçerli bağımlılığının yerini alır.

Döndürülenler

Verilen hizmetin değiştirıldığı yeni bir parametre nesnesi.

Şunlara uygulanır

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

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

Parametreler

modelLogger
IDiagnosticsLogger<DbLoggerCategory.Model>

Bu türün geçerli bağımlılığının yerini alır.

Döndürülenler

Verilen hizmetin değiştirıldığı yeni bir parametre nesnesi.

Şunlara uygulanır

With(IMemberClassifier)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

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

Parametreler

memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier

Bu türün geçerli bağımlılığının yerini alır.

Döndürülenler

Verilen hizmetin değiştirıldığı yeni bir parametre nesnesi.

Öznitelikler

Şunlara uygulanır

With(ITypeMappingSource)

Bu bağımlılık parametresi nesnesini değiştirilen bir hizmetle kopyalar.

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

Parametreler

typeMappingSource
ITypeMappingSource

Bu türün geçerli bağımlılığının yerini alır.

Döndürülenler

Verilen hizmetin değiştirıldığı yeni bir parametre nesnesi.

Şunlara uygulanır