Table of Contents

Class PluginControl

Namespace
SharpConsoleUI.Plugins
Assembly
SharpConsoleUI.dll

A control factory contribution from a plugin

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

Constructors

PluginControl(string, Func<IWindowControl>)

A control factory contribution from a plugin

public PluginControl(string Name, Func<IWindowControl> Factory)

Parameters

Name string

The unique name for the control

Factory Func<IWindowControl>

A factory function that creates control instances

Properties

Factory

A factory function that creates control instances

public Func<IWindowControl> Factory { get; init; }

Property Value

Func<IWindowControl>

Name

The unique name for the control

public string Name { get; init; }

Property Value

string