Table of Contents

Class DeveloperToolsPlugin

Namespace
SharpConsoleUI.Plugins.DeveloperTools
Assembly
SharpConsoleUI.dll

Built-in developer tools plugin providing debugging and diagnostics capabilities. Includes DevDark theme, log exporter control, debug console window, and diagnostics service.

public class DeveloperToolsPlugin : PluginBase, IPlugin, IDisposable
Inheritance
DeveloperToolsPlugin
Implements
Inherited Members

Properties

Info

Gets the plugin metadata

public override PluginInfo Info { get; }

Property Value

PluginInfo

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public override void Dispose()

GetControls()

Gets the control factories provided by this plugin

public override IReadOnlyList<PluginControl> GetControls()

Returns

IReadOnlyList<PluginControl>

A list of control factories, or empty if the plugin provides no controls

GetServicePlugins()

Gets the service plugins provided by this plugin using the reflection-free pattern. Service plugins implement IPluginService and can be invoked without shared interfaces.

public override IReadOnlyList<IPluginService> GetServicePlugins()

Returns

IReadOnlyList<IPluginService>

A list of service plugins, or empty if the plugin provides no services

GetThemes()

Gets the themes provided by this plugin

public override IReadOnlyList<PluginTheme> GetThemes()

Returns

IReadOnlyList<PluginTheme>

A list of themes, or empty if the plugin provides no themes

GetWindows()

Gets the window/dialog factories provided by this plugin

public override IReadOnlyList<PluginWindow> GetWindows()

Returns

IReadOnlyList<PluginWindow>

A list of window factories, or empty if the plugin provides no windows

Initialize(ConsoleWindowSystem)

Called when the plugin is loaded, before Get* methods are called. Use this for any initialization that requires access to the window system.

public override void Initialize(ConsoleWindowSystem windowSystem)

Parameters

windowSystem ConsoleWindowSystem

The window system that loaded the plugin