DependencyGenerator 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這是為了測試功能而建立的,但這可能會消失。 若要使用此方法進行測試,請讓這個類別實作 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 介面。 最後,應該只會移除這個類別。 |