Partilhar via


RazorParser.Parse Método

Definição

Sobrecargas

Parse(ITextDocument)
Parse(LookaheadTextReader)
Obsoleto.
Parse(TextReader)
Parse(LookaheadTextReader, ParserVisitor)
Obsoleto.
Parse(TextReader, ParserVisitor)

Parse(ITextDocument)

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

Parâmetros

Retornos

Aplica-se a

Parse(LookaheadTextReader)

Cuidado

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

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

Parâmetros

Retornos

Atributos

Aplica-se a

Parse(TextReader)

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

Parâmetros

input
TextReader

Retornos

Aplica-se a

Parse(LookaheadTextReader, ParserVisitor)

Cuidado

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

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

Parâmetros

visitor
ParserVisitor
Atributos

Aplica-se a

Parse(TextReader, ParserVisitor)

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

Parâmetros

input
TextReader
visitor
ParserVisitor

Aplica-se a