Table of Contents

Class CodeEditorTagHelper

Namespace
JJMasterData.Web.TagHelpers
Assembly
JJMasterData.Web.dll
[HtmlTargetElement("code-editor", TagStructure = TagStructure.WithoutEndTag)]
public sealed class CodeEditorTagHelper : TagHelper, ITagHelper, ITagHelperComponent
Inheritance
CodeEditorTagHelper
Implements
Inherited Members

Constructors

CodeEditorTagHelper(ComponentRenderer)

public CodeEditorTagHelper(ComponentRenderer componentRenderer)

Parameters

componentRenderer ComponentRenderer

Properties

For

[HtmlAttributeName("asp-for")]
public required ModelExpression For { get; set; }

Property Value

ModelExpression

Height

[HtmlAttributeName("height")]
public int Height { get; set; }

Property Value

int

Language

[HtmlAttributeName("language")]
public required string Language { get; set; }

Property Value

string

Name

[HtmlAttributeName("name")]
public string Name { get; set; }

Property Value

string

Value

[HtmlAttributeName("value")]
public string Value { get; set; }

Property Value

string

Methods

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output.

public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext

Contains information associated with the current HTML tag.

output TagHelperOutput

A stateful HTML element used to generate an HTML tag.

Returns

Task

A Task that on completion updates the output.

Remarks

By default this calls into Process(TagHelperContext, TagHelperOutput).