Table of Contents

Method GetAsset

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetAsset(Uri, Uri?)

Retrieves the asset descriptor for the specified URI.

public virtual IAssetDescriptor? GetAsset(Uri uri, Uri? baseUri)

Parameters

uri Uri

The URI of the asset to retrieve.

baseUri Uri

A base URI to use if uri is relative.

Returns

IAssetDescriptor

An IAssetDescriptor representing the asset, or null if the asset could not be found.