Sdílet prostřednictvím


CSharpMigrationsGeneratorDependencies.With Metoda

Definice

Přetížení

With(ICSharpHelper)

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ICSharpMigrationOperationGenerator)

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ICSharpSnapshotGenerator)

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

With(ICSharpHelper)

Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

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

Parametry

csharpHelper
ICSharpHelper

Náhrada aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(ICSharpMigrationOperationGenerator)

Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

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

Parametry

csharpMigrationOperationGenerator
ICSharpMigrationOperationGenerator

Náhrada aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro

With(ICSharpSnapshotGenerator)

Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs
Zdroj:
CSharpMigrationsGeneratorDependencies.cs

Klonuje tento objekt parametru závislosti s jednou nahrazenou službou.

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

Parametry

csharpSnapshotGenerator
ICSharpSnapshotGenerator

Náhrada aktuální závislosti tohoto typu.

Návraty

Nový objekt parametru s danou službou nahrazen.

Platí pro