Summary
Opens the asset with the requested URI.
- Namespace
- Avalonia
.Shared .PlatformSupport - Containing Type
- AssetLoader
Syntax
public 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. |