JSModuleContext class
Manages JavaScript interop context for the lifetime of a .NET module.
C#
public sealed class JSModuleContext : IDisposablePublic Members
| name | description |
|---|---|
| JSModuleContext() | The default constructor. |
| static Current { get; } | Gets the current module context. |
| IsDisposed { get; } | |
| Module { get; } | Gets an instance of the class that represents the module, or null if there is no module class. |
| Dispose() |
Remarks
A JSModuleContext instance is constructed when the module is loaded and disposed when the module is unloaded.