dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core

JsModuleManager Class

Static class for managing the JavaScript modules used by GeoBlazor.

public class JsModuleManager

Inheritance System.Object 🡒 JsModuleManager

Methods

JsModuleManager.GetCoreJsModule(IJSRuntime, IJSObjectReference, CancellationToken) Method

Retrieves the main entry point for the GeoBlazor Core JavaScript module.

public System.Threading.Tasks.ValueTask<Microsoft.JSInterop.IJSObjectReference> GetCoreJsModule(Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.JSInterop.IJSObjectReference? proModule, System.Threading.CancellationToken cancellationToken);

Parameters

jsRuntime Microsoft.JSInterop.IJSRuntime

proModule Microsoft.JSInterop.IJSObjectReference

cancellationToken System.Threading.CancellationToken

Returns

System.Threading.Tasks.ValueTask<Microsoft.JSInterop.IJSObjectReference>

JsModuleManager.GetProJsModule(IJSRuntime, CancellationToken) Method

Retrieves the main entry point for the optional GeoBlazor Pro JavaScript module.

public System.Threading.Tasks.ValueTask<Microsoft.JSInterop.IJSObjectReference?> GetProJsModule(Microsoft.JSInterop.IJSRuntime jsRuntime, System.Threading.CancellationToken cancellationToken);

Parameters

jsRuntime Microsoft.JSInterop.IJSRuntime

cancellationToken System.Threading.CancellationToken

Returns

System.Threading.Tasks.ValueTask<Microsoft.JSInterop.IJSObjectReference>