/// <summary> /// Initializes a new instance of the <see cref="ImageCdnTagHelper"/> class. /// </summary> /// <param name="setup">The <see cref="CdnTagHelperOptions" /> which need to be configured.</param> /// <param name="cacheBusting">An optional object implementing the <see cref="ICacheBusting" /> interface.</param> public ImageCdnTagHelper(IOptions <CdnTagHelperOptions> setup, ICacheBusting cacheBusting = null) : base(setup, cacheBusting) { }
/// <summary> /// Initializes a new instance of the <see cref="LinkCdnTagHelper"/> class. /// </summary> /// <param name="setup">The <see cref="CdnTagHelperOptions" /> which need to be configured.</param> /// <param name="cacheBusting">An optional object implementing the <see cref="ICacheBusting" /> interface.</param> public LinkCdnTagHelper(IOptions <CdnTagHelperOptions> setup, ICacheBusting cacheBusting = null) : base(setup, cacheBusting) { Type = "text/css"; Rel = "stylesheet"; }