Share via


LiteralAttributeCodeGenerator.GenerateCode(Span, CodeGeneratorContext) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the code for the literal attribute.

public override void GenerateCode (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Generator.CodeGeneratorContext context);
override this.GenerateCode : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Generator.CodeGeneratorContext -> unit
Public Overrides Sub GenerateCode (target As Span, context As CodeGeneratorContext)

Parameters

target
Span

The source span whose content represents the literal attribute.

context
CodeGeneratorContext

The context of the code generator.

Applies to