Vixen
02b45cc4
csharp
public record class PluginDescriptor

A plugin as found on disk: its manifest, and where the three files are.

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

Remarks

⚠ A descriptor is the result of reading, not of loading. Nothing here has run any of the plugin's code, and a descriptor for a plugin that turns out to be incompatible, broken or disabled is a perfectly ordinary thing to be holding — which is what lets a plugin-management panel list what is installed without activating it.

Fields and properties (5)

  • public PluginManifest Manifest

    What it says about itself.

  • public string Directory

    The folder holding it, which is also the folder its own data goes in.

  • public string ManifestPath

    The plugin.yaml itself.

  • public string AssemblyPath

    The assembly, or empty when discovery could not find the file the manifest names.

  • public string Id

    What everything refers to it by.

Methods (2)

  • public PluginDescriptor(PluginManifest Manifest, string Directory, string ManifestPath, string AssemblyPath)

    A plugin as found on disk: its manifest, and where the three files are.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (9)

  • DiscoveryTestsVixen.Editor.Plugin.Tests
  • LoadedPluginVixen.Editor.Plugin
  • OrderTestsVixen.Editor.Plugin.Tests
  • PluginCatalogVixen.Editor.Plugin
  • PluginContextVixen.Editor.Plugin
  • PluginDiscoveryVixen.Editor.Plugin
  • PluginHostVixen.Editor.Plugin
  • PluginManagerViewVixen.Editor.App
  • PluginOrderVixen.Editor.Plugin