ResourceAsset(String, IReadOnlyList<ResourceAssetProperty>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A resource of the components application, such as a script, stylesheet or image.
public ResourceAsset (string url, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty>? properties);
new Microsoft.AspNetCore.Components.ResourceAsset : string * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAssetProperty> -> Microsoft.AspNetCore.Components.ResourceAsset
Public Sub New (url As String, properties As IReadOnlyList(Of ResourceAssetProperty))
Parameters
- url
- String
The URL of the resource.
- properties
- IReadOnlyList<ResourceAssetProperty>
The properties associated to this resource.