CodeGeneratorContext.BufferStatementFragment Method
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
BufferStatementFragment(String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement. |
BufferStatementFragment(Span) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the content of the span to the current buffered statement. |
BufferStatementFragment(String, Span) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement. |
BufferStatementFragment(String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement.
public void BufferStatementFragment(string fragment);
member this.BufferStatementFragment : string -> unit
Public Sub BufferStatementFragment (fragment As String)
Parameters
- fragment
- String
The fragment to add.
Applies to
BufferStatementFragment(Span)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the content of the span to the current buffered statement.
public void BufferStatementFragment(System.Web.Razor.Parser.SyntaxTree.Span sourceSpan);
member this.BufferStatementFragment : System.Web.Razor.Parser.SyntaxTree.Span -> unit
Public Sub BufferStatementFragment (sourceSpan As Span)
Parameters
- sourceSpan
- Span
The source span whose content is to be added.
Applies to
BufferStatementFragment(String, Span)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Appends the specified fragment to the current buffered statement.
public void BufferStatementFragment(string fragment, System.Web.Razor.Parser.SyntaxTree.Span sourceSpan);
member this.BufferStatementFragment : string * System.Web.Razor.Parser.SyntaxTree.Span -> unit
Public Sub BufferStatementFragment (fragment As String, sourceSpan As Span)
Parameters
- fragment
- String
The fragment to add.
- sourceSpan
- Span
The source span for the fragment
.