Table of Contents

Class PluginWindow

Namespace
SharpConsoleUI.Plugins
Assembly
SharpConsoleUI.dll

A window/dialog factory contribution from a plugin

public record PluginWindow : IEquatable<PluginWindow>
Inheritance
PluginWindow
Implements
Inherited Members

Constructors

PluginWindow(string, Func<ConsoleWindowSystem, Window>)

A window/dialog factory contribution from a plugin

public PluginWindow(string Name, Func<ConsoleWindowSystem, Window> Factory)

Parameters

Name string

The unique name for the window

Factory Func<ConsoleWindowSystem, Window>

A factory function that creates window instances

Properties

Factory

A factory function that creates window instances

public Func<ConsoleWindowSystem, Window> Factory { get; init; }

Property Value

Func<ConsoleWindowSystem, Window>

Name

The unique name for the window

public string Name { get; init; }

Property Value

string