RazorCodeLanguage.CreateChunkGenerator 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造区块生成器。 必须在每次调用时返回一个新实例,以确保线程安全
public:
abstract Microsoft::AspNetCore::Razor::Chunks::Generators::RazorChunkGenerator ^ CreateChunkGenerator(System::String ^ className, System::String ^ rootNamespaceName, System::String ^ sourceFileName, Microsoft::AspNetCore::Razor::RazorEngineHost ^ host);
public abstract Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator CreateChunkGenerator (string className, string rootNamespaceName, string sourceFileName, Microsoft.AspNetCore.Razor.RazorEngineHost host);
abstract member CreateChunkGenerator : string * string * string * Microsoft.AspNetCore.Razor.RazorEngineHost -> Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator
Public MustOverride Function CreateChunkGenerator (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost) As RazorChunkGenerator
参数
- className
- String
- rootNamespaceName
- String
- sourceFileName
- String
- host
- RazorEngineHost