IAssetLoader.

Open(Uri, Uri) Method

Summary

Opens the asset with the requested URI.
Namespace
Avalonia.Platform
Containing Type
IAssetLoader

Syntax

Stream Open(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
Stream A stream containing the asset contents.