Nucleus .Net Core CMS

HtmlHelpers.PrivacyHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a link to the site's privacy page.

Methods

Privacy (IHtmlHelper,String,Object) Method

Privacy (IHtmlHelper htmlHelper, String caption, Object htmlAttributes)
Returns an anchor (a) element which links to the site's Privacy page.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
caption String

The inner text of the anchor element.

htmlAttributes Object
Remarks
If the site does not have a configured privacy page, nothing is rendered.