Partager via


RazorParser.Parse Méthode

Définition

Surcharges

Parse(ITextDocument)
Parse(LookaheadTextReader)
Obsolète.
Parse(TextReader)
Parse(LookaheadTextReader, ParserVisitor)
Obsolète.
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

Paramètres

Retours

S’applique à

Parse(LookaheadTextReader)

Attention

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

Paramètres

Retours

Attributs

S’applique à

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

Paramètres

input
TextReader

Retours

S’applique à

Parse(LookaheadTextReader, ParserVisitor)

Attention

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)

Paramètres

visitor
ParserVisitor
Attributs

S’applique à

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)

Paramètres

input
TextReader
visitor
ParserVisitor

S’applique à