Class PluginLoadResult
- Namespace
- Kuestenlogik.Bowire.PluginLoading
- Assembly
- Kuestenlogik.Bowire.dll
Outcome of attempting to load one plugin from disk. Returned (alongside every other plugin's result) by the loader so the host can surface per-plugin health to operators instead of silently skipping a broken install. Status distinguishes the failure modes the loader can detect deterministically; ErrorMessage carries a human-readable explanation suitable for logs and /api/plugins/health.
public sealed record PluginLoadResult : IEquatable<PluginLoadResult>
- Inheritance
-
PluginLoadResult
- Implements
- Inherited Members
Constructors
PluginLoadResult(string, string, PluginLoadStatus, string?)
Outcome of attempting to load one plugin from disk. Returned (alongside every other plugin's result) by the loader so the host can surface per-plugin health to operators instead of silently skipping a broken install. Status distinguishes the failure modes the loader can detect deterministically; ErrorMessage carries a human-readable explanation suitable for logs and /api/plugins/health.
public PluginLoadResult(string PackageId, string DirectoryPath, PluginLoadStatus Status, string? ErrorMessage)
Parameters
PackageIdstringDirectoryPathstringStatusPluginLoadStatusErrorMessagestring
Properties
DirectoryPath
public string DirectoryPath { get; init; }
Property Value
ErrorMessage
public string? ErrorMessage { get; init; }
Property Value
PackageId
public string PackageId { get; init; }
Property Value
Status
public PluginLoadStatus Status { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out PluginLoadStatus, out string?)
public void Deconstruct(out string PackageId, out string DirectoryPath, out PluginLoadStatus Status, out string? ErrorMessage)
Parameters
PackageIdstringDirectoryPathstringStatusPluginLoadStatusErrorMessagestring
Equals(PluginLoadResult?)
public bool Equals(PluginLoadResult? other)
Parameters
otherPluginLoadResult
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(PluginLoadResult?, PluginLoadResult?)
public static bool operator ==(PluginLoadResult? left, PluginLoadResult? right)
Parameters
leftPluginLoadResultrightPluginLoadResult
Returns
operator !=(PluginLoadResult?, PluginLoadResult?)
public static bool operator !=(PluginLoadResult? left, PluginLoadResult? right)
Parameters
leftPluginLoadResultrightPluginLoadResult