AssetLoader.

Exists(Uri, Uri) Method

Summary

Checks if an asset with the specified URI exists.
Namespace
Avalonia.Shared.PlatformSupport
Containing Type
AssetLoader

Syntax

public bool Exists(Uri uri, Uri baseUri = null)

Parameters

Name Type Description
uri Uri The URI.
baseUri Uri A base URI to use if uri is relative.

Return Value

Type Description
bool True if the asset could be found; otherwise false.