TagHelperPrefixDirectiveChunk Class

A Microsoft.AspNetCore.Razor.Chunks.Chunk for the <code>@tagHelperPrefix</code> directive.

Namespace
Microsoft.AspNetCore.Razor.Chunks
Assemblies
  • Microsoft.AspNetCore.Razor

Syntax

public class TagHelperPrefixDirectiveChunk : Chunk
class Microsoft.AspNetCore.Razor.Chunks.TagHelperPrefixDirectiveChunk

Properties

Microsoft.AspNetCore.Razor.Chunks.TagHelperPrefixDirectiveChunk.Prefix

Text used as a required prefix when matching HTML start and end tags in the Razor source to available tag helpers.

Return type:System.String
public string Prefix { get; set; }