Class AssetsManager
Extracts embedded web assets (the Monaco editor and Web Markdown bundles) into the local application data folder on first use or version change, and preloads the WebView2 loader native library.
Inherited Members
Namespace: Reportman.Designer
Assembly: Reportman.Designer.dll
Syntax
public static class AssetsManager
Methods
View SourceEnsureMonacoAssetsExtracted()
Extracts Monaco Editor assets if the version has changed and returns the actual root path.
Declaration
public static string EnsureMonacoAssetsExtracted()
Returns
| Type | Description |
|---|---|
| string |
EnsureWebMarkdownAssetsExtracted()
Extracts Web Markdown assets if the version has changed and returns the base path.
Declaration
public static string EnsureWebMarkdownAssetsExtracted()
Returns
| Type | Description |
|---|---|
| string |
TryPreloadWebView2Loader(string)
Preloads the WebView2Loader.dll from the extracted Monaco Editor path based on the process bitness.
Declaration
public static void TryPreloadWebView2Loader(string monacoRootPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | monacoRootPath |