RazorTemplateEngine.CreateParser(String) 方法

定义

protected public:
 virtual Microsoft::AspNetCore::Razor::Parser::RazorParser ^ CreateParser(System::String ^ sourceFileName);
protected internal virtual Microsoft.AspNetCore.Razor.Parser.RazorParser CreateParser (string sourceFileName);
abstract member CreateParser : string -> Microsoft.AspNetCore.Razor.Parser.RazorParser
override this.CreateParser : string -> Microsoft.AspNetCore.Razor.Parser.RazorParser
Protected Friend Overridable Function CreateParser (sourceFileName As String) As RazorParser

参数

sourceFileName
String

返回

适用于