Table of Contents

Class NiteHeadTagHelper

Namespace
Nite.TagHelpers
Assembly
Nite.dll

<nite-head />: the import map, dev client and island loader in development; the hashed loader and its preloads in production; and ClientConfig's values. Put it in <head>, before other module scripts.

[HtmlTargetElement("nite-head", TagStructure = TagStructure.WithoutEndTag)]
public sealed class NiteHeadTagHelper : TagHelper, ITagHelper, ITagHelperComponent
Inheritance
NiteHeadTagHelper
Implements
Inherited Members

Constructors

NiteHeadTagHelper(INiteAssets)

<nite-head />: the import map, dev client and island loader in development; the hashed loader and its preloads in production; and ClientConfig's values. Put it in <head>, before other module scripts.

public NiteHeadTagHelper(INiteAssets assets)

Parameters

assets INiteAssets

Properties

ViewContext

[ViewContext]
[HtmlAttributeNotBound]
public ViewContext ViewContext { get; set; }

Property Value

ViewContext

Methods

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output. Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. A Task that on completion updates the output. By default this calls into Process(TagHelperContext, TagHelperOutput)..
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext
output TagHelperOutput

Returns

Task