SpanCodeGenerator.GenerateCode(Span, CodeGeneratorContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates a code for the specified target and context parameters.
public virtual void GenerateCode (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Generator.CodeGeneratorContext context);
abstract member GenerateCode : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Generator.CodeGeneratorContext -> unit
override this.GenerateCode : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Generator.CodeGeneratorContext -> unit
Public Overridable Sub GenerateCode (target As Span, context As CodeGeneratorContext)
Parameters
- target
- Span
The target span.
- context
- CodeGeneratorContext
The code generator context.