Class ThemeInfo
- Namespace
- SharpConsoleUI.Themes
- Assembly
- SharpConsoleUI.dll
Information about a registered theme including its name, description, and factory method.
public record ThemeInfo : IEquatable<ThemeInfo>
- Inheritance
-
ThemeInfo
- Implements
- Inherited Members
Constructors
ThemeInfo(string, string, Func<ITheme>)
Information about a registered theme including its name, description, and factory method.
public ThemeInfo(string Name, string Description, Func<ITheme> Factory)
Parameters
NamestringThe unique name of the theme.
DescriptionstringA description of the theme's visual style and characteristics.
FactoryFunc<ITheme>A factory method that creates a new instance of the theme.
Properties
Description
A description of the theme's visual style and characteristics.
public string Description { get; init; }
Property Value
Factory
A factory method that creates a new instance of the theme.
public Func<ITheme> Factory { get; init; }
Property Value
Name
The unique name of the theme.
public string Name { get; init; }