Поделиться через


RazorParser.Parse Метод

Определение

Перегрузки

Parse(ITextDocument)
Parse(LookaheadTextReader)
Устаревшие..
Parse(TextReader)
Parse(LookaheadTextReader, ParserVisitor)
Устаревшие..
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

Параметры

Возвращаемое значение

Применяется к

Parse(LookaheadTextReader)

Внимание!

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

Параметры

Возвращаемое значение

Атрибуты

Применяется к

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

Параметры

input
TextReader

Возвращаемое значение

Применяется к

Parse(LookaheadTextReader, ParserVisitor)

Внимание!

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)

Параметры

visitor
ParserVisitor
Атрибуты

Применяется к

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)

Параметры

input
TextReader
visitor
ParserVisitor

Применяется к