Język

AssetPathAttributes Klasa

Definicja

Infrastruktura do odnajdywania atrybutów HTML, które akceptują rozszerzenie statycznej ścieżki zasobów.

[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
Dziedziczenie
AssetPathAttributes
Atrybuty

Uwagi

Aby rozszerzyć obsługiwane kombinacje elementów i atrybutów, zdefiniuj klasę publiczną o nazwie AssetPathAttributes i dodaj do niej adnotację za pomocą polecenia AcceptsAssetPathAttribute.

Dotyczy