Table of Contents

Method OpenAndGetAssembly

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

OpenAndGetAssembly(Uri, Uri?)

Opens the asset with the requested URI and returns the asset stream and the assembly containing the asset.

public (Stream stream, Assembly assembly) OpenAndGetAssembly(Uri uri, Uri? baseUri = null)

Parameters

uri Uri

The URI.

baseUri Uri

A base URI to use if uri is relative.

Returns

(Stream stream, Assembly assembly)

The stream containing the resource contents together with the assembly.

Exceptions

FileNotFoundException

The asset could not be found.