CSharpDisableWarningScope Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- writer
- CSharpCodeWriter
Applies to
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)
Parameters
- writer
- CSharpCodeWriter
- warningNumber
- Int32