Docs · API reference · Verso.Abstractions

UnavailableExtensionInfo Class#

Describes a required extension that a notebook declared but could not be loaded on open, so the hosting layer can surface a non-fatal notice rather than failing the open. The notebook still opens; layouts or cells that depend on the extension may not work until it becomes available.

public sealed record UnavailableExtensionInfo : System.IEquatable<Verso.Abstractions.UnavailableExtensionInfo>

Inheritance System.Object → UnavailableExtensionInfo

Implements System.IEquatable<UnavailableExtensionInfo>

Constructors#

UnavailableExtensionInfo(string, string, string) Constructor#

Describes a required extension that a notebook declared but could not be loaded on open, so the hosting layer can surface a non-fatal notice rather than failing the open. The notebook still opens; layouts or cells that depend on the extension may not work until it becomes available.

public UnavailableExtensionInfo(string PackageId, string? Version, string Reason);

Parameters#

PackageId System.String

The NuGet package id or local assembly file name.

Version System.String

The version that was attempted, or null when it could not be resolved.

Reason System.String

A short, user-facing explanation (e.g. "could not reach the package source").

Properties#

PackageId Property#

The NuGet package id or local assembly file name.

public string PackageId { get; init; }

Property Value#

System.String

Reason Property#

A short, user-facing explanation (e.g. "could not reach the package source").

public string Reason { get; init; }

Property Value#

System.String

Version Property#

The version that was attempted, or null when it could not be resolved.

public string? Version { get; init; }

Property Value#

System.String