Vixen
02b45cc4
csharp
public record class PluginReport

What one pass of loading did.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The editor turns this into one notification and a line in the console; a build server treats any error in it as a failure; a test asserts on it. The same shape as Vixen.Editor.Assets's import results, and for the same reason: a load pass that communicated by throwing could report exactly one thing.

Fields and properties (5)

  • public IReadOnlyList<LoadedPlugin> Activated

    The plugins that are running, in the order they were activated.

  • public IReadOnlyList<LoadedPlugin> Failed

    The ones that are not, whatever the reason.

  • public IReadOnlyList<PluginDiagnostic> Diagnostics

    Every reason, from discovery and from loading alike.

  • public static PluginReport Empty

    A report for a pass that had nothing to do.

  • public bool HasErrors

    Whether anything went wrong.

Methods (2)

  • public PluginReport(IReadOnlyList<LoadedPlugin> Activated, IReadOnlyList<LoadedPlugin> Failed, IReadOnlyList<PluginDiagnostic> Diagnostics)

    What one pass of loading did.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (5)

  • EditorApplicationVixen.Editor.App
  • LoadingTestsVixen.Editor.Plugin.Tests
  • ModuleTestsVixen.Editor.Plugin.Tests
  • PluginHostVixen.Editor.Plugin
  • SwitchingTestsVixen.Editor.Plugin.Tests