Skip to content

Class PluginManifest

Namespace: DotBoxD.Plugins
Assembly: DotBoxD.Plugins.dll

public sealed record PluginManifest : IEquatable<PluginManifest>

objectPluginManifest

IEquatable<PluginManifest>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

PluginManifest(string, string, ExecutionMode, IReadOnlyList<string>, IReadOnlyList<LiveSettingDefinition>, IReadOnlyList<HookSubscriptionManifest>)

Section titled “ PluginManifest(string, string, ExecutionMode, IReadOnlyList<string>, IReadOnlyList<LiveSettingDefinition>, IReadOnlyList<HookSubscriptionManifest>)”
public PluginManifest(string PluginId, string Contract, ExecutionMode Mode, IReadOnlyList<string> Effects, IReadOnlyList<LiveSettingDefinition> LiveSettings, IReadOnlyList<HookSubscriptionManifest> Subscriptions)

PluginId string

Contract string

Mode ExecutionMode

Effects IReadOnlyList<string>

LiveSettings IReadOnlyList<LiveSettingDefinition>

Subscriptions IReadOnlyList<HookSubscriptionManifest>

public string Contract { get; init; }

string

public IReadOnlyList<string> Effects { get; init; }

IReadOnlyList<string>

public IReadOnlyList<LiveSettingDefinition> LiveSettings { get; init; }

IReadOnlyList<LiveSettingDefinition>

public ExecutionMode Mode { get; init; }

ExecutionMode

public string PluginId { get; init; }

string

Capabilities the verified IR requires — derived by the analyzer from what the kernel actually touches (a host-message send, a [HostBinding] call, a [Capability]-gated event property), never self-asserted for trust. Declarative: the host gates installs through binding capabilities and policy grants. Optional, defaults to empty; set via object initializer.

public IReadOnlyList<string> RequiredCapabilities { get; init; }

IReadOnlyList<string>

For a server extension kernel: the id of the single request/response entrypoint function the host invokes with caller arguments and whose result it returns (see InstalledKernel.InvokeServerExtensionAsync). null for ordinary event kernels, which dispatch through ShouldHandle/Handle instead. Additive; defaults to null.

public string? RpcEntrypoint { get; init; }

string?

public IReadOnlyList<HookSubscriptionManifest> Subscriptions { get; init; }

IReadOnlyList<HookSubscriptionManifest>