CSharpCodeWriter Classe

Définition

public ref class CSharpCodeWriter : Microsoft::AspNetCore::Razor::CodeGenerators::CodeWriter
public class CSharpCodeWriter : Microsoft.AspNetCore.Razor.CodeGenerators.CodeWriter
type CSharpCodeWriter = class
    inherit CodeWriter
Public Class CSharpCodeWriter
Inherits CodeWriter
Héritage
CSharpCodeWriter

Constructeurs

CSharpCodeWriter()

Propriétés

Builder (Hérité de CodeWriter)
CurrentIndent (Hérité de CodeWriter)
IsAfterNewLine (Hérité de CodeWriter)
LineMappingManager
NewLine (Hérité de CodeWriter)

Méthodes

BuildAsyncLambda(Boolean, String[])
BuildClassDeclaration(String, String)
BuildClassDeclaration(String, String, IEnumerable<String>)
BuildClassDeclaration(String, String, String)
BuildConstructor(String)
BuildConstructor(String, String)
BuildConstructor(String, String, IEnumerable<KeyValuePair<String,String>>)
BuildDisableWarningScope(Int32)
BuildLambda(Boolean, String[])
BuildLineMapping(SourceLocation, Int32, String)
BuildMethodDeclaration(String, String, String)
BuildMethodDeclaration(String, String, String, IEnumerable<KeyValuePair<String,String>>)
BuildNamespace(String)
BuildScope()
DecreaseIndent(Int32)
Dispose() (Hérité de CodeWriter)
Dispose(Boolean) (Hérité de CodeWriter)
GenerateCode() (Hérité de CodeWriter)
GetCurrentSourceLocation() (Hérité de CodeWriter)
IncreaseIndent(Int32)
Indent(Int32)
ResetIndent()
SetIndent(Int32)
Write(String)
Write(String, Int32, Int32) (Hérité de CodeWriter)
WriteAutoPropertyDeclaration(String, String, String)
WriteBooleanLiteral(Boolean)
WriteComment(String)
WriteEndInstrumentationContext(ChunkGeneratorContext)
WriteEndMethodInvocation()
WriteEndMethodInvocation(Boolean)
WriteInstanceMethodInvocation(String, String, Boolean, String[])
WriteInstanceMethodInvocation(String, String, String[])
WriteLine()
WriteLine(String)
WriteLineDefaultDirective()
WriteLineHiddenDirective()
WriteLineNumberDirective(SourceLocation, String)

Écrit une #line directive pragma pour le numéro de ligne à l’adresse spécifiée location .

WriteLocationTaggedString(LocationTagged<String>)
WriteMethodInvocation(String, Boolean, String[])
WriteMethodInvocation(String, String[])
WriteParameterSeparator()
WritePragma(String)
WriteReturn(String)
WriteReturn(String, Boolean)
WriteStartAssignment(String)
WriteStartInstanceMethodInvocation(String, String)
WriteStartInstrumentationContext(ChunkGeneratorContext, Int32, Int32, Boolean)
WriteStartInstrumentationContext(ChunkGeneratorContext, SyntaxTreeNode, Boolean)
WriteStartMethodInvocation(String)
WriteStartMethodInvocation(String, String[])
WriteStartNewObject(String)
WriteStartReturn()
WriteStringLiteral(String)
WriteUsing(String)
WriteUsing(String, Boolean)
WriteVariableDeclaration(String, String, String)

S’applique à