共用方式為


ProviderCodeGeneratorDependencies.With 方法

定義

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

public Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGeneratorDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Scaffolding.IProviderCodeGeneratorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Scaffolding.IProviderCodeGeneratorPlugin> -> Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGeneratorDependencies
Public Function With (plugins As IEnumerable(Of IProviderCodeGeneratorPlugin)) As ProviderCodeGeneratorDependencies

參數

plugins
IEnumerable<IProviderCodeGeneratorPlugin>

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

傳回

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

適用於