共用方式為


CSharpRazorCodeLanguage.CreateChunkGenerator 方法

定義

使用指定的設定,為這個語言建構區塊產生器的新實例

public:
 override Microsoft::AspNetCore::Razor::Chunks::Generators::RazorChunkGenerator ^ CreateChunkGenerator(System::String ^ className, System::String ^ rootNamespaceName, System::String ^ sourceFileName, Microsoft::AspNetCore::Razor::RazorEngineHost ^ host);
public override Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator CreateChunkGenerator (string className, string rootNamespaceName, string sourceFileName, Microsoft.AspNetCore.Razor.RazorEngineHost host);
override this.CreateChunkGenerator : string * string * string * Microsoft.AspNetCore.Razor.RazorEngineHost -> Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator
Public Overrides Function CreateChunkGenerator (className As String, rootNamespaceName As String, sourceFileName As String, host As RazorEngineHost) As RazorChunkGenerator

參數

className
String
rootNamespaceName
String
sourceFileName
String

傳回

適用於