AssetPathAttributes Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Infrastruttura per l'individuazione degli attributi HTML che accettano l'espansione statica del percorso di asset.
[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
- Ereditarietà
-
AssetPathAttributes
- Attributi
Commenti
Per estendere le combinazioni di elementi e attributi supportati, definire una classe pubblica denominata AssetPathAttributes e annotarla con AcceptsAssetPathAttribute.