다음을 통해 공유


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

이 형식의 현재 종속성을 대체합니다.

반환

지정된 서비스가 대체된 새 매개 변수 개체입니다.

적용 대상