csharp
public record class PluginReportWhat 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> ActivatedThe plugins that are running, in the order they were activated.
public IReadOnlyList<LoadedPlugin> FailedThe ones that are not, whatever the reason.
public IReadOnlyList<PluginDiagnostic> DiagnosticsEvery reason, from discovery and from loading alike.
public static PluginReport EmptyA report for a pass that had nothing to do.
public bool HasErrorsWhether 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