CSharpCodeParser.WrapSimpleBlockParser Method
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 Friend Function WrapSimpleBlockParser ( _
type As BlockType, _
blockParser As CodeParser..::..BlockParser _
) As CodeParser..::..BlockParser
'Usage
Dim type As BlockType
Dim blockParser As CodeParser..::..BlockParser
Dim returnValue As CodeParser..::..BlockParser
returnValue = Me.WrapSimpleBlockParser(type, _
blockParser)
protected internal CodeParser..::..BlockParser WrapSimpleBlockParser(
BlockType type,
CodeParser..::..BlockParser blockParser
)
protected public:
CodeParser..::..BlockParser^ WrapSimpleBlockParser(
BlockType type,
CodeParser..::..BlockParser^ blockParser
)
function WrapSimpleBlockParser(
type : BlockType,
blockParser : CodeParser..::..BlockParser
) : CodeParser..::..BlockParser
Parameters
- type
Type: System.Web.Razor.Parser.SyntaxTree.BlockType
- blockParser
Type: System.Web.Razor.Parser.CodeParser.BlockParser
Return Value
Type: System.Web.Razor.Parser.CodeParser.BlockParser
Permissions
- Medium trust for the immediate caller. This member can be used by partially trusted code.