共用方式為


CSharpCodeGenerator.CreateCodeWriter 方法

定義

受到保護以進行測試。

protected:
 virtual Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ CreateCodeWriter();
protected virtual Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter CreateCodeWriter ();
abstract member CreateCodeWriter : unit -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
override this.CreateCodeWriter : unit -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Protected Overridable Function CreateCodeWriter () As CSharpCodeWriter

傳回

CSharpCodeWriter 的新執行個體。

適用於