DependencyGenerator 類別

定義

這是為了測試功能而建立的,但這可能會消失。 若要使用此方法進行測試,請讓這個類別實作 ICodeGenerator 介面。 最後,應該只會移除這個類別。

public ref class DependencyGenerator
[Microsoft.VisualStudio.Web.CodeGeneration.CommandLine.Alias("dependency")]
public class DependencyGenerator
[<Microsoft.VisualStudio.Web.CodeGeneration.CommandLine.Alias("dependency")>]
type DependencyGenerator = class
Public Class DependencyGenerator
繼承
DependencyGenerator
屬性

建構函式

DependencyGenerator(IServiceProvider)

這是為了測試功能而建立的,但這可能會消失。 若要使用此方法進行測試,請讓這個類別實作 ICodeGenerator 介面。 最後,應該只會移除這個類別。

方法

GenerateCode(DependencyGeneratorModel)

這是為了測試功能而建立的,但這可能會消失。 若要使用此方法進行測試,請讓這個類別實作 ICodeGenerator 介面。 最後,應該只會移除這個類別。

適用於