Langue

AssetPathAttributes Classe

Définition

Infrastructure pour la découverte d’attributs HTML qui acceptent l’extension de chemin d’accès aux ressources statiques.

[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
Héritage
AssetPathAttributes
Attributs

Remarques

Pour étendre les combinaisons d’éléments et d’attributs pris en charge, définissez une classe publique nommée AssetPathAttributes et annotez-la avec AcceptsAssetPathAttribute.

S’applique à