Table of Contents

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

LoadedPluginCount int
RegisteredServiceCount int
RegisteredControlCount int
RegisteredWindowCount int
PluginNames IReadOnlyList<string>
AutoLoadEnabled bool
PluginsDirectory string

Properties

AutoLoadEnabled

public bool AutoLoadEnabled { get; init; }

Property Value

bool

LoadedPluginCount

public int LoadedPluginCount { get; init; }

Property Value

int

PluginNames

public IReadOnlyList<string> PluginNames { get; init; }

Property Value

IReadOnlyList<string>

PluginsDirectory

public string? PluginsDirectory { get; init; }

Property Value

string

RegisteredControlCount

public int RegisteredControlCount { get; init; }

Property Value

int

RegisteredServiceCount

public int RegisteredServiceCount { get; init; }

Property Value

int

RegisteredWindowCount

public int RegisteredWindowCount { get; init; }

Property Value

int