TagHelperDirectiveDescriptor Class

Contains information needed to resolve Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptors.

Namespace
Microsoft.AspNetCore.Razor.Compilation.TagHelpers
Assemblies
  • Microsoft.AspNetCore.Razor

Syntax

public class TagHelperDirectiveDescriptor
class Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveDescriptor

Properties

Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveDescriptor.DirectiveText

A System.String used to find tag helper System.Types.

Return type:System.String
public string DirectiveText { get; set; }
Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveDescriptor.DirectiveType

The Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveType of this directive.

Return type:Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveType
public TagHelperDirectiveType DirectiveType { get; set; }
Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDirectiveDescriptor.Location

The Microsoft.AspNetCore.Razor.SourceLocation of the directive.

Return type:Microsoft.AspNetCore.Razor.SourceLocation
public SourceLocation Location { get; set; }