共用方式為


CSharpDisableWarningScope 建構函式

定義

多載

CSharpDisableWarningScope(CSharpCodeWriter)
CSharpDisableWarningScope(CSharpCodeWriter, Int32)

CSharpDisableWarningScope(CSharpCodeWriter)

public:
 CSharpDisableWarningScope(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer);
public CSharpDisableWarningScope (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope
Public Sub New (writer As CSharpCodeWriter)

參數

適用於

CSharpDisableWarningScope(CSharpCodeWriter, Int32)

public:
 CSharpDisableWarningScope(Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ writer, int warningNumber);
public CSharpDisableWarningScope (Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter writer, int warningNumber);
new Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope : Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter * int -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpDisableWarningScope
Public Sub New (writer As CSharpCodeWriter, warningNumber As Integer)

參數

warningNumber
Int32

適用於