CSharpMigrationsGeneratorDependencies.With 方法

定义

重载

With(ICSharpHelper)

克隆此依赖项参数对象,并替换了一个服务。

With(ICSharpMigrationOperationGenerator)

克隆此依赖项参数对象,并替换了一个服务。

With(ICSharpSnapshotGenerator)

克隆此依赖项参数对象,并替换了一个服务。

With(ICSharpHelper)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
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)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
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)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
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

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于