CSharpCodeWritingScope 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CSharpCodeWritingScope(CodeWriter) | |
CSharpCodeWritingScope(CodeWriter, Boolean) | |
CSharpCodeWritingScope(CodeWriter, Int32) | |
CSharpCodeWritingScope(CodeWriter, Int32, Boolean) |
CSharpCodeWritingScope(CodeWriter)
public:
CSharpCodeWritingScope(Microsoft::AspNetCore::Razor::CodeGenerators::CodeWriter ^ writer);
public CSharpCodeWritingScope (Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter writer);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope : Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Sub New (writer As CodeWriter)
参数
- writer
- CodeWriter
适用于
CSharpCodeWritingScope(CodeWriter, Boolean)
public:
CSharpCodeWritingScope(Microsoft::AspNetCore::Razor::CodeGenerators::CodeWriter ^ writer, bool autoSpace);
public CSharpCodeWritingScope (Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter writer, bool autoSpace);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope : Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter * bool -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Sub New (writer As CodeWriter, autoSpace As Boolean)
参数
- writer
- CodeWriter
- autoSpace
- Boolean
适用于
CSharpCodeWritingScope(CodeWriter, Int32)
public:
CSharpCodeWritingScope(Microsoft::AspNetCore::Razor::CodeGenerators::CodeWriter ^ writer, int tabSize);
public CSharpCodeWritingScope (Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter writer, int tabSize);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope : Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter * int -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Sub New (writer As CodeWriter, tabSize As Integer)
参数
- writer
- CodeWriter
- tabSize
- Int32
适用于
CSharpCodeWritingScope(CodeWriter, Int32, Boolean)
public:
CSharpCodeWritingScope(Microsoft::AspNetCore::Razor::CodeGenerators::CodeWriter ^ writer, int tabSize, bool autoSpace);
public CSharpCodeWritingScope (Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter writer, int tabSize, bool autoSpace);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope : Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter * int * bool -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Sub New (writer As CodeWriter, tabSize As Integer, autoSpace As Boolean)
参数
- writer
- CodeWriter
- tabSize
- Int32
- autoSpace
- Boolean