Class
HtmlAssetReferencesFluent
ChartForgeX.Interactivity.Html
The fluent methods of HtmlAssetReferences, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- HtmlAssetReferencesFluent
Methods
public static HtmlAssetReferences IncludeIntegrity(HtmlAssetReferences htmlAssetReferences, bool value = true) #Sets HtmlAssetReferences.IncludeIntegrity: Gets or sets a value indicating whether script and stylesheet references carry a Subresource Integrity (sha384) attribute. Off by default because browsers skip integrity-checked assets loaded from file:// pages; enable it for hosted bundles. Integrity-checked assets are requested with crossorigin="anonymous", so assets on another origin must be served with CORS headers.
Parameters
- htmlAssetReferences ChartForgeX.Interactivity.Html.HtmlAssetReferences
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
htmlAssetReferences.IncludeIntegrity = value; htmlAssetReferences.IncludeIntegrity(value);