共用方式為


CSharpSnapshotGeneratorDependencies.With 方法

定義

多載

With(IAnnotationCodeGenerator)

複製此相依性參數物件,並取代一個服務。

With(ICSharpHelper)

複製此相依性參數物件,並取代一個服務。

With(IRelationalTypeMappingSource)

複製此相依性參數物件,並取代一個服務。

With(IAnnotationCodeGenerator)

來源:
CSharpSnapshotGeneratorDependencies.cs

複製此相依性參數物件,並取代一個服務。

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

參數

annotationCodeGenerator
IAnnotationCodeGenerator

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(ICSharpHelper)

來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs

複製此相依性參數物件,並取代一個服務。

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

參數

csharpHelper
ICSharpHelper

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IRelationalTypeMappingSource)

來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs
來源:
CSharpSnapshotGeneratorDependencies.cs

複製此相依性參數物件,並取代一個服務。

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

參數

relationalTypeMappingSource
IRelationalTypeMappingSource

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於