RobotsTagHelper Class

RobotsTagHelper Class

Creates a robots meta element for the current page. Takes settings from the page's property.

[HtmlTargetElement("re-robots")]
public class RobotsTagHelper: TagHelper

Inheritance  TagHelper RobotsTagHelper

Constructors

Name Description
RobotsTagHelper(IRedaktContext) Default constructor. Services are injected by the IoC container.

Methods

Name Description
Process(TagHelperContext, TagHelperOutput)