Condividi tramite


CodeGeneratorContext(ChunkGeneratorContext, ErrorSink) Costruttore

Definizione

Crea un'istanza di una nuova istanza dell'oggetto CodeGeneratorContext .

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)

Parametri

generatorContext
ChunkGeneratorContext

Oggetto ChunkGeneratorContext da cui copiare le informazioni.

errorSink
ErrorSink

Oggetto ErrorSink usato per raccogliere RazorErrori dati rilevati durante l'analisi del documento Razor corrente.

Si applica a