using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace AMWD.Common.AspNetCore.Extensions
{
///
/// Extensions for the HTML (e.g. ).
///
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public static class HtmlExtensions
{
///
/// The prefix used to identify JavaScript parts.
///
public static string JSPrefix { get; set; } = "_JS_";
///
/// The prefix used to identify CascadingStyleSheet parts.
///
public static string CSSPrefix { get; set; } = "_CSS_";
///
/// Add a js snippet.
///
/// The dynamic type of the .
/// The instance.
/// The template to use to add the snippet.
///
public static T AddJS(this IHtmlHelper htmlHelper, Func