共用方式為


CSharpMigrationsGeneratorDependencies.With 方法

定義

多載

With(ICSharpHelper)

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

With(ICSharpMigrationOperationGenerator)

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

With(ICSharpSnapshotGenerator)

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

With(ICSharpHelper)

來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs

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

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

參數

csharpHelper
ICSharpHelper

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

傳回

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

適用於

With(ICSharpMigrationOperationGenerator)

來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs

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

public Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies With (Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator csharpMigrationOperationGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies
Public Function With (csharpMigrationOperationGenerator As ICSharpMigrationOperationGenerator) As CSharpMigrationsGeneratorDependencies

參數

csharpMigrationOperationGenerator
ICSharpMigrationOperationGenerator

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

傳回

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

適用於

With(ICSharpSnapshotGenerator)

來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs
來源:
CSharpMigrationsGeneratorDependencies.cs

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

public Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies With (Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator csharpSnapshotGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpSnapshotGenerator -> Microsoft.EntityFrameworkCore.Migrations.Design.CSharpMigrationsGeneratorDependencies
Public Function With (csharpSnapshotGenerator As ICSharpSnapshotGenerator) As CSharpMigrationsGeneratorDependencies

參數

csharpSnapshotGenerator
ICSharpSnapshotGenerator

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

傳回

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

適用於