Docs · API reference · Verso.Abstractions

ExtensionInfo Class#

Describes a loaded extension, including its metadata, current status, and capability list.

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

Inheritance System.Object → ExtensionInfo

Implements System.IEquatable<ExtensionInfo>

Constructors#

ExtensionInfo(string, string, string, string, string, ExtensionStatus, IReadOnlyList<string>) Constructor#

Describes a loaded extension, including its metadata, current status, and capability list.

public ExtensionInfo(string ExtensionId, string Name, string Version, string? Author, string? Description, Verso.Abstractions.ExtensionStatus Status, System.Collections.Generic.IReadOnlyList<string> Capabilities);

Parameters#

ExtensionId System.String

The unique identifier of the extension.

Name System.String

The human-readable display name.

Version System.String

The semantic version string.

Author System.String

The extension author, or null if not specified.

Description System.String

A brief description, or null if not specified.

Status ExtensionStatus

Whether the extension is currently enabled or disabled.

Capabilities System.Collections.Generic.IReadOnlyList<System.String>

The list of capability interface names implemented by the extension.

Properties#

Author Property#

The extension author, or null if not specified.

public string? Author { get; init; }

Property Value#

System.String

Capabilities Property#

The list of capability interface names implemented by the extension.

public System.Collections.Generic.IReadOnlyList<string> Capabilities { get; init; }

Property Value#

System.Collections.Generic.IReadOnlyList<System.String>

Description Property#

A brief description, or null if not specified.

public string? Description { get; init; }

Property Value#

System.String

ExtensionId Property#

The unique identifier of the extension.

public string ExtensionId { get; init; }

Property Value#

System.String

Name Property#

The human-readable display name.

public string Name { get; init; }

Property Value#

System.String

Status Property#

Whether the extension is currently enabled or disabled.

public Verso.Abstractions.ExtensionStatus Status { get; init; }

Property Value#

ExtensionStatus

Version Property#

The semantic version string.

public string Version { get; init; }

Property Value#

System.String