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 static IEnumerable<Uri> GetAssets(
Uri uri,
Uri? baseUri
)

Parameters

  Uri
The URI.
  Uri
The base URI.

Return Value

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

See Also

Reference

AssetLoader Class
Avalonia.Platform Namespace