![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Opens external absolute URIs in a new browser tab or window. More...
Public Member Functions | |||||||||
| BlazorExternalUriLauncher (IJSRuntime jsRuntime) | |||||||||
| Creates a browser URI launcher backed by the supplied JavaScript runtime. | |||||||||
| async ValueTask | OpenAsync (Uri uri, CancellationToken cancellationToken=default) | ||||||||
Opens the specified URI using the platform's external URI handler.
| |||||||||
Opens external absolute URIs in a new browser tab or window.
Definition at line 9 of file BlazorExternalUriLauncher.cs.
| Gondwana.Blazor.BlazorExternalUriLauncher.BlazorExternalUriLauncher | ( | IJSRuntime | jsRuntime | ) |
Creates a browser URI launcher backed by the supplied JavaScript runtime.
| jsRuntime | The JavaScript runtime used for browser interop. |
Definition at line 15 of file BlazorExternalUriLauncher.cs.
| async ValueTask Gondwana.Blazor.BlazorExternalUriLauncher.OpenAsync | ( | Uri | uri, |
| CancellationToken | cancellationToken = default ) |
Opens the specified URI using the platform's external URI handler.
| uri | The absolute URI to open. |
| cancellationToken | A token used to request cancellation of the operation. |
| ArgumentNullException | Thrown when uri is null. |
| InvalidOperationException | Thrown when the current platform cannot open the specified URI. |
Implements Gondwana.Widgets.Controls.IExternalUriLauncher.
Definition at line 21 of file BlazorExternalUriLauncher.cs.