Compartilhar via


CodeGeneratorContext(ChunkGeneratorContext, ErrorSink) Construtor

Definição

Instancia uma nova instância do CodeGeneratorContext objeto .

public:
 CodeGeneratorContext(Microsoft::AspNetCore::Razor::Chunks::Generators::ChunkGeneratorContext ^ generatorContext, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public CodeGeneratorContext (Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext generatorContext, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
new Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext : Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext * Microsoft.AspNetCore.Razor.ErrorSink -> Microsoft.AspNetCore.Razor.CodeGenerators.CodeGeneratorContext
Public Sub New (generatorContext As ChunkGeneratorContext, errorSink As ErrorSink)

Parâmetros

generatorContext
ChunkGeneratorContext

Um ChunkGeneratorContext do qual copiar informações.

errorSink
ErrorSink

O ErrorSink usado para coletar RazorErrors encontrados ao analisar o documento razor atual.

Aplica-se a