Lenguaje

AssetPathAttributes Clase

Definición

Infraestructura para la detección de atributos HTML que aceptan la expansión estática de la ruta de acceso al recurso.

[Microsoft.AspNetCore.Components.AcceptsAssetPath("audio", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("img", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("input", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("link", "href")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("script", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("source", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("track", "src")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "poster")]
[Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "src")]
public static class AssetPathAttributes
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("audio", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("img", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("input", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("link", "href")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("script", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("source", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("track", "src")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "poster")>]
[<Microsoft.AspNetCore.Components.AcceptsAssetPath("video", "src")>]
type AssetPathAttributes = class
Public Class AssetPathAttributes
Herencia
AssetPathAttributes
Atributos

Comentarios

Para ampliar las combinaciones de atributos y elementos admitidos, defina una clase pública denominada AssetPathAttributes y anote con AcceptsAssetPathAttribute.

Se aplica a