RazorCodeLanguage.CreateChunkGenerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs the chunk generator. Must return a new instance on EVERY call to ensure thread-safety
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
Parameters
- className
- String
- rootNamespaceName
- String
- sourceFileName
- String
- host
- RazorEngineHost