Partilhar via


RazorCodeLanguage.CreateChunkGenerator Método

Definição

Constrói o gerador de partes. Deve retornar uma nova instância em CADA chamada para garantir a segurança do thread

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

Parâmetros

className
String
rootNamespaceName
String
sourceFileName
String

Retornos

Aplica-se a