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>