RazorParser Constructors
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
RazorParser(RazorParser) |
Initializes a new instance of RazorParser from the specified |
RazorParser(ParserBase, ParserBase, ITagHelperDescriptorResolver) |
Initializes a new instance of RazorParser. |
RazorParser(RazorParser)
Initializes a new instance of RazorParser from the specified parser
.
public:
RazorParser(Microsoft::AspNetCore::Razor::Parser::RazorParser ^ parser);
public RazorParser (Microsoft.AspNetCore.Razor.Parser.RazorParser parser);
new Microsoft.AspNetCore.Razor.Parser.RazorParser : Microsoft.AspNetCore.Razor.Parser.RazorParser -> Microsoft.AspNetCore.Razor.Parser.RazorParser
Public Sub New (parser As RazorParser)
Parameters
- parser
- RazorParser
The RazorParser to copy values from.
Applies to
RazorParser(ParserBase, ParserBase, ITagHelperDescriptorResolver)
Initializes a new instance of RazorParser.
public:
RazorParser(Microsoft::AspNetCore::Razor::Parser::ParserBase ^ codeParser, Microsoft::AspNetCore::Razor::Parser::ParserBase ^ markupParser, Microsoft::AspNetCore::Razor::Compilation::TagHelpers::ITagHelperDescriptorResolver ^ tagHelperDescriptorResolver);
public RazorParser (Microsoft.AspNetCore.Razor.Parser.ParserBase codeParser, Microsoft.AspNetCore.Razor.Parser.ParserBase markupParser, Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver tagHelperDescriptorResolver);
new Microsoft.AspNetCore.Razor.Parser.RazorParser : Microsoft.AspNetCore.Razor.Parser.ParserBase * Microsoft.AspNetCore.Razor.Parser.ParserBase * Microsoft.AspNetCore.Razor.Compilation.TagHelpers.ITagHelperDescriptorResolver -> Microsoft.AspNetCore.Razor.Parser.RazorParser
Public Sub New (codeParser As ParserBase, markupParser As ParserBase, tagHelperDescriptorResolver As ITagHelperDescriptorResolver)
Parameters
- codeParser
- ParserBase
The ParserBase used for parsing code content.
- markupParser
- ParserBase
The ParserBase used for parsing markup content.
- tagHelperDescriptorResolver
- ITagHelperDescriptorResolver
The ITagHelperDescriptorResolver used to resolve TagHelperDescriptors.