Skip to main content

GetAssets Method

Gets all assets of a folder and subfolders that match specified uri.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public IEnumerable<Uri> GetAssets(
Uri uri,
Uri? baseUri
)

Parameters

  Uri
The URI.
  Uri
Base URI that is used if uri is relative.

Return Value

IEnumerable(Uri)
All matching assets as a tuple of the absolute path to the asset and the assembly containing the asset

Implements

IAssetLoader.GetAssets(Uri, Uri)

See Also

Reference

StandardAssetLoader Class
Avalonia.Platform Namespace