ResourceAsset(String, IReadOnlyList<ResourceAssetProperty>) 构造函数

定义

组件应用程序的资源,例如脚本、样式表或图像。

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))

参数

url
String

资源的 URL。

properties
IReadOnlyList<ResourceAssetProperty>

与此资源关联的属性。

适用于