Compartir a través de


CSharpMigrationsGeneratorDependencies.With Método

Definición

Sobrecargas

With(ICSharpHelper)

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

With(ICSharpMigrationOperationGenerator)

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

With(ICSharpSnapshotGenerator)

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

With(ICSharpHelper)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

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

Parámetros

csharpHelper
ICSharpHelper

Reemplazo de la dependencia actual de este tipo.

Devoluciones

Nuevo objeto de parámetro con el servicio especificado reemplazado.

Se aplica a

With(ICSharpMigrationOperationGenerator)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

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

Parámetros

csharpMigrationOperationGenerator
ICSharpMigrationOperationGenerator

Reemplazo de la dependencia actual de este tipo.

Devoluciones

Nuevo objeto de parámetro con el servicio especificado reemplazado.

Se aplica a

With(ICSharpSnapshotGenerator)

Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs
Source:
CSharpMigrationsGeneratorDependencies.cs

Clona este objeto de parámetro de dependencia con un servicio reemplazado.

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

Parámetros

csharpSnapshotGenerator
ICSharpSnapshotGenerator

Reemplazo de la dependencia actual de este tipo.

Devoluciones

Nuevo objeto de parámetro con el servicio especificado reemplazado.

Se aplica a