CSharpTagHelperAttributeValueVisitor.Visit Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Visit(ExpressionBlockChunk) |
Escribe código para el especificado |
| Visit(ExpressionChunk) |
Escribe código para el especificado |
| Visit(LiteralChunk) |
Escribe código para el especificado |
| Visit(ParentChunk) |
Escribe código para el especificado |
| Visit(ParentLiteralChunk) | |
| Visit(SectionChunk) |
Escribe código para el especificado |
| Visit(StatementChunk) |
Escribe código para el especificado |
| Visit(TemplateChunk) |
Escribe código para el especificado |
Visit(ExpressionBlockChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::ExpressionBlockChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ExpressionBlockChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ExpressionBlockChunk -> unit
Protected Overrides Sub Visit (chunk As ExpressionBlockChunk)
Parámetros
- chunk
- ExpressionBlockChunk
El objeto ExpressionBlockChunk que se va a representar.
Se aplica a
Visit(ExpressionChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::ExpressionChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ExpressionChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ExpressionChunk -> unit
Protected Overrides Sub Visit (chunk As ExpressionChunk)
Parámetros
- chunk
- ExpressionChunk
El objeto ExpressionChunk que se va a representar.
Se aplica a
Visit(LiteralChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::LiteralChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.LiteralChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.LiteralChunk -> unit
Protected Overrides Sub Visit (chunk As LiteralChunk)
Parámetros
- chunk
- LiteralChunk
El objeto LiteralChunk que se va a representar.
Se aplica a
Visit(ParentChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::ParentChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ParentChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ParentChunk -> unit
Protected Overrides Sub Visit (chunk As ParentChunk)
Parámetros
- chunk
- ParentChunk
El objeto ParentChunk que se va a representar.
Comentarios
Realiza el seguimiento de las asignaciones de código para todos los elementos secundarios mientras se escribe.
Se aplica a
Visit(ParentLiteralChunk)
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::ParentLiteralChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.ParentLiteralChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.ParentLiteralChunk -> unit
Protected Overrides Sub Visit (chunk As ParentLiteralChunk)
Parámetros
- chunk
- ParentLiteralChunk
Se aplica a
Visit(SectionChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::SectionChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.SectionChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.SectionChunk -> unit
Protected Overrides Sub Visit (chunk As SectionChunk)
Parámetros
- chunk
- SectionChunk
El objeto SectionChunk que se va a representar.
Comentarios
Agrega incondicionalmente un RazorError para informar al usuario de una directiva inesperada @section .
Se aplica a
Visit(StatementChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::StatementChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.StatementChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.StatementChunk -> unit
Protected Overrides Sub Visit (chunk As StatementChunk)
Parámetros
- chunk
- StatementChunk
El objeto StatementChunk que se va a representar.
Comentarios
Agrega incondicionalmente un RazorError para informar al usuario del bloque de código inesperado.
Se aplica a
Visit(TemplateChunk)
Escribe código para el especificado chunk .
protected:
override void Visit(Microsoft::AspNetCore::Razor::Chunks::TemplateChunk ^ chunk);
protected override void Visit (Microsoft.AspNetCore.Razor.Chunks.TemplateChunk chunk);
override this.Visit : Microsoft.AspNetCore.Razor.Chunks.TemplateChunk -> unit
Protected Overrides Sub Visit (chunk As TemplateChunk)
Parámetros
- chunk
- TemplateChunk
El objeto TemplateChunk que se va a representar.
Comentarios
Agrega incondicionalmente un RazorError para informar al usuario de una plantilla inesperada, por ejemplo, @ < p > Paragraph@ < /p > .