CSharpSnapshotGeneratorDependencies.With Yöntem

Tanım

Aşırı Yüklemeler

With(IAnnotationCodeGenerator)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

With(ICSharpHelper)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

With(IAnnotationCodeGenerator)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

public Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies With (Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
member this.With : Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies
Public Function With (annotationCodeGenerator As IAnnotationCodeGenerator) As CSharpSnapshotGeneratorDependencies

Parametreler

annotationCodeGenerator
IAnnotationCodeGenerator

Bu türün geçerli bağımlılığı için bir değiştirme.

Döndürülenler

CSharpSnapshotGeneratorDependencies

Verilen hizmet ile yeni bir parametre nesnesi değişti.

Şunlara uygulanır

With(ICSharpHelper)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

public Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies With (Microsoft.EntityFrameworkCore.Design.ICSharpHelper csharpHelper);
member this.With : Microsoft.EntityFrameworkCore.Design.ICSharpHelper -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies
Public Function With (csharpHelper As ICSharpHelper) As CSharpSnapshotGeneratorDependencies

Parametreler

csharpHelper
ICSharpHelper

Bu türün geçerli bağımlılığı için bir değiştirme.

Döndürülenler

CSharpSnapshotGeneratorDependencies

Verilen hizmet ile yeni bir parametre nesnesi değişti.

Şunlara uygulanır

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmet değiştirilmiş olarak kopyalar.

public Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource relationalTypeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpSnapshotGeneratorDependencies
Public Function With (relationalTypeMappingSource As IRelationalTypeMappingSource) As CSharpSnapshotGeneratorDependencies

Parametreler

relationalTypeMappingSource
IRelationalTypeMappingSource

Bu türün geçerli bağımlılığı için bir değiştirme.

Döndürülenler

CSharpSnapshotGeneratorDependencies

Verilen hizmet ile yeni bir parametre nesnesi değişti.

Şunlara uygulanır