RazorParser.Parse Method

Definition

Overloads

Parse(TextReader)

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

Parse(ITextDocument)

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

Parse(LookaheadTextReader)
Obsolete.

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

Parse(TextReader, ParserVisitor)

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

Parse(LookaheadTextReader, ParserVisitor)
Obsolete.

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

Parse(TextReader)

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

public virtual System.Web.Razor.ParserResults Parse (System.IO.TextReader input);
abstract member Parse : System.IO.TextReader -> System.Web.Razor.ParserResults
override this.Parse : System.IO.TextReader -> System.Web.Razor.ParserResults
Public Overridable Function Parse (input As TextReader) As ParserResults

Parameters

input
TextReader

The object to parse.

Returns

The parser result.

Applies to

Parse(ITextDocument)

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

public virtual System.Web.Razor.ParserResults Parse (System.Web.Razor.Text.ITextDocument input);
abstract member Parse : System.Web.Razor.Text.ITextDocument -> System.Web.Razor.ParserResults
override this.Parse : System.Web.Razor.Text.ITextDocument -> System.Web.Razor.ParserResults
Public Overridable Function Parse (input As ITextDocument) As ParserResults

Parameters

input
ITextDocument

The object to parse.

Returns

The parser result.

Applies to

Parse(LookaheadTextReader)

Caution

Lookahead-based readers have been deprecated, use overrides which accept a TextReader or ITextDocument instead

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

[System.Obsolete("Lookahead-based readers have been deprecated, use overrides which accept a TextReader or ITextDocument instead")]
public virtual System.Web.Razor.ParserResults Parse (System.Web.Razor.Text.LookaheadTextReader input);
abstract member Parse : System.Web.Razor.Text.LookaheadTextReader -> System.Web.Razor.ParserResults
override this.Parse : System.Web.Razor.Text.LookaheadTextReader -> System.Web.Razor.ParserResults
Public Overridable Function Parse (input As LookaheadTextReader) As ParserResults

Parameters

input
LookaheadTextReader

The object to parse.

Returns

The parser result.

Attributes

Applies to

Parse(TextReader, ParserVisitor)

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

public virtual void Parse (System.IO.TextReader input, System.Web.Razor.Parser.ParserVisitor visitor);
abstract member Parse : System.IO.TextReader * System.Web.Razor.Parser.ParserVisitor -> unit
override this.Parse : System.IO.TextReader * System.Web.Razor.Parser.ParserVisitor -> unit
Public Overridable Sub Parse (input As TextReader, visitor As ParserVisitor)

Parameters

input
TextReader

The object to parse.

visitor
ParserVisitor

The visitor.

Applies to

Parse(LookaheadTextReader, ParserVisitor)

Caution

Lookahead-based readers have been deprecated, use overrides which accept a TextReader or ITextDocument instead

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

[System.Obsolete("Lookahead-based readers have been deprecated, use overrides which accept a TextReader or ITextDocument instead")]
public virtual void Parse (System.Web.Razor.Text.LookaheadTextReader input, System.Web.Razor.Parser.ParserVisitor visitor);
abstract member Parse : System.Web.Razor.Text.LookaheadTextReader * System.Web.Razor.Parser.ParserVisitor -> unit
override this.Parse : System.Web.Razor.Text.LookaheadTextReader * System.Web.Razor.Parser.ParserVisitor -> unit
Public Overridable Sub Parse (input As LookaheadTextReader, visitor As ParserVisitor)

Parameters

input
LookaheadTextReader

The object to parse.

visitor
ParserVisitor

The visitor.

Attributes

Applies to