Class PluginState
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
Immutable record representing the current state of the plugin system.
public record PluginState : IEquatable<PluginState>
- Inheritance
-
PluginState
- Implements
- Inherited Members
Constructors
PluginState(int, int, int, int, IReadOnlyList<string>, bool, string?)
Immutable record representing the current state of the plugin system.
public PluginState(int LoadedPluginCount, int RegisteredServiceCount, int RegisteredControlCount, int RegisteredWindowCount, IReadOnlyList<string> PluginNames, bool AutoLoadEnabled, string? PluginsDirectory)
Parameters
LoadedPluginCountintRegisteredServiceCountintRegisteredControlCountintRegisteredWindowCountintPluginNamesIReadOnlyList<string>AutoLoadEnabledboolPluginsDirectorystring
Properties
AutoLoadEnabled
public bool AutoLoadEnabled { get; init; }
Property Value
LoadedPluginCount
public int LoadedPluginCount { get; init; }
Property Value
PluginNames
public IReadOnlyList<string> PluginNames { get; init; }
Property Value
PluginsDirectory
public string? PluginsDirectory { get; init; }
Property Value
RegisteredControlCount
public int RegisteredControlCount { get; init; }
Property Value
RegisteredServiceCount
public int RegisteredServiceCount { get; init; }
Property Value
RegisteredWindowCount
public int RegisteredWindowCount { get; init; }