Vixen
02b45cc4
csharp
public sealed class LoadedPlugin

One plugin, as the host is holding it.

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

Remarks

What a plugin-management panel lists, and what a test asserts against. The instance and the load context are deliberately not on it: a caller holding either would be the reference that stops the context being collected, which is the one failure mode of this whole design that produces no error message.

Fields and properties (7)

  • public PluginDescriptor Descriptor

    The plugin, as it was found on disk.

  • public string Id

    What everything refers to it by.

  • public PluginManifest Manifest

    What it says about itself.

  • public PluginState State

    Where it got to.

  • public bool IsBuiltIn

    Whether it is a module the editor ships rather than something installed.

  • public Exception? Failure

    Why it did not start, if it did not.

  • public int Registrations

    How many things it registered.

Methods (1)

  • public override string ToString()

    Returns a string that represents the current object.

Used by (9)

  • EditorApplicationVixen.Editor.App
  • EditorScriptTestsVixen.Editor.Scripts.Tests
  • EditorScriptsVixen.Editor.Scripts
  • LoadingTestsVixen.Editor.Plugin.Tests
  • ModuleTestsVixen.Editor.Plugin.Tests
  • PluginHostVixen.Editor.Plugin
  • PluginManagerViewVixen.Editor.App
  • PluginReportVixen.Editor.Plugin
  • SwitchingTestsVixen.Editor.Plugin.Tests