Table of Contents

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

Name string

The unique name of the theme.

Description string

A description of the theme's visual style and characteristics.

Factory Func<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

string

Factory

A factory method that creates a new instance of the theme.

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

Property Value

Func<ITheme>

Name

The unique name of the theme.

public string Name { get; init; }

Property Value

string