RazorTemplateEngine.GenerateCodeCore 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
protected public:
virtual Microsoft::AspNetCore::Razor::CodeGenerators::GeneratorResults ^ GenerateCodeCore(Microsoft::AspNetCore::Razor::Text::ITextDocument ^ input, System::String ^ className, System::String ^ rootNamespace, System::String ^ sourceFileName, System::String ^ checksum, Nullable<System::Threading::CancellationToken> cancelToken);
protected internal virtual Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults GenerateCodeCore (Microsoft.AspNetCore.Razor.Text.ITextDocument input, string className, string rootNamespace, string sourceFileName, string checksum, System.Threading.CancellationToken? cancelToken);
abstract member GenerateCodeCore : Microsoft.AspNetCore.Razor.Text.ITextDocument * string * string * string * string * Nullable<System.Threading.CancellationToken> -> Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults
override this.GenerateCodeCore : Microsoft.AspNetCore.Razor.Text.ITextDocument * string * string * string * string * Nullable<System.Threading.CancellationToken> -> Microsoft.AspNetCore.Razor.CodeGenerators.GeneratorResults
Protected Friend Overridable Function GenerateCodeCore (input As ITextDocument, className As String, rootNamespace As String, sourceFileName As String, checksum As String, cancelToken As Nullable(Of CancellationToken)) As GeneratorResults
参数
- input
- ITextDocument
- className
- String
- rootNamespace
- String
- sourceFileName
- String
- checksum
- String
- cancelToken
- Nullable<CancellationToken>