Partilhar via


ResourceAsset(String, IReadOnlyList<ResourceAssetProperty>) Construtor

Definição

Um recurso do aplicativo de componentes, como um script, folha de estilos ou imagem.

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

Parâmetros

url
String

A URL do recurso.

properties
IReadOnlyList<ResourceAssetProperty>

As propriedades associadas a esse recurso.

Aplica-se a