Share via


ResourceAsset(String, IReadOnlyList<ResourceAssetProperty>) Constructor

Definition

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.

Applies to