CodeParser.BalanceBrackets Method (Boolean, SpanFactory, Boolean)
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
Protected Function BalanceBrackets ( _
allowTransition As Boolean, _
spanFactory As SpanFactory, _
appendOuter As Boolean _
) As Boolean
'Usage
Dim allowTransition As Boolean
Dim spanFactory As SpanFactory
Dim appendOuter As Boolean
Dim returnValue As Boolean
returnValue = Me.BalanceBrackets(allowTransition, _
spanFactory, appendOuter)
protected bool BalanceBrackets(
bool allowTransition,
SpanFactory spanFactory,
bool appendOuter
)
protected:
bool BalanceBrackets(
bool allowTransition,
SpanFactory^ spanFactory,
bool appendOuter
)
protected function BalanceBrackets(
allowTransition : boolean,
spanFactory : SpanFactory,
appendOuter : boolean
) : boolean
Parameters
- allowTransition
Type: System.Boolean
- spanFactory
Type: System.Web.Razor.Parser.SyntaxTree.SpanFactory
- appendOuter
Type: System.Boolean
Return Value
Type: System.Boolean
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.