Docs · API reference · Verso.Abstractions
LayoutRendererUnmountContext Class#
Context provided to OnRendererUnmountedAsync(LayoutRendererUnmountContext) describing a renderer instance that is being torn down.
public sealed class LayoutRendererUnmountContext
Inheritance System.Object → LayoutRendererUnmountContext
Properties#
CancellationToken Property#
Cancellation token for the unmount operation.
public System.Threading.CancellationToken CancellationToken { get; init; }
Property Value#
System.Threading.CancellationToken
ExtensionId Property#
The owning extension's ExtensionId. Together with LayoutId this forms the identity pair the host routed against.
public string ExtensionId { get; init; }
Property Value#
FrameInstanceId Property#
Host-allocated token identifying the renderer instance being unmounted. Matches the FrameInstanceId delivered when the instance was mounted.
public string FrameInstanceId { get; init; }
Property Value#
Isolation Property#
Isolation boundary the renderer was instantiated under.
public Verso.Abstractions.LayoutRendererIsolation Isolation { get; init; }
Property Value#
LayoutId Property#
The LayoutId the renderer instance belongs to.
public string LayoutId { get; init; }
Property Value#
Verso Property#
Verso context providing access to variables, theme, notebook operations, and the extension host.
public Verso.Abstractions.IVersoContext Verso { get; init; }