CodeBlockInfo Constructor (String, SourceLocation, Boolean, Span, Span)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    start As SourceLocation, _
    isTopLevel As Boolean, _
    transitionSpan As Span, _
    initialSpan As Span _
)
'Usage
Dim name As String
Dim start As SourceLocation
Dim isTopLevel As Boolean
Dim transitionSpan As Span
Dim initialSpan As Span

Dim instance As New CodeBlockInfo(name, start, _
    isTopLevel, transitionSpan, initialSpan)
public CodeBlockInfo(
    string name,
    SourceLocation start,
    bool isTopLevel,
    Span transitionSpan,
    Span initialSpan
)
public:
CodeBlockInfo(
    String^ name, 
    SourceLocation start, 
    bool isTopLevel, 
    Span^ transitionSpan, 
    Span^ initialSpan
)
public function CodeBlockInfo(
    name : String, 
    start : SourceLocation, 
    isTopLevel : boolean, 
    transitionSpan : Span, 
    initialSpan : Span
)

Parameters

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

CodeBlockInfo Class

CodeBlockInfo Overload

System.Web.Razor.Parser Namespace