Share via


ResourceAssetCollection Class

Definition

Describes a mapping of static assets to their corresponding unique URLs.

public sealed class ResourceAssetCollection : System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.ResourceAsset>, System.Collections.Generic.IReadOnlyCollection<Microsoft.AspNetCore.Components.ResourceAsset>, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.ResourceAsset>
type ResourceAssetCollection = class
    interface IReadOnlyList<ResourceAsset>
    interface seq<ResourceAsset>
    interface IEnumerable
    interface IReadOnlyCollection<ResourceAsset>
Public NotInheritable Class ResourceAssetCollection
Implements IEnumerable(Of ResourceAsset), IReadOnlyCollection(Of ResourceAsset), IReadOnlyList(Of ResourceAsset)
Inheritance
ResourceAssetCollection
Implements

Constructors

ResourceAssetCollection(IReadOnlyList<ResourceAsset>)

Initializes a new instance of ResourceAssetCollection

Fields

Empty

An empty ResourceAssetCollection.

Properties

Item[String]

Gets the unique content-based URL for the specified static asset.

Methods

IsContentSpecificUrl(String)

Determines whether the specified path is a content-specific URL.

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<ResourceAsset>.GetEnumerator()
IReadOnlyCollection<ResourceAsset>.Count
IReadOnlyList<ResourceAsset>.Item[Int32]

Applies to