namespace Terminal.Gui.Examples; /// /// Contains information about a discovered example application. /// public class ExampleInfo { /// /// Gets or sets the display name of the example. /// public string Name { get; set; } = string.Empty; /// /// Gets or sets a description of what the example demonstrates. /// public string Description { get; set; } = string.Empty; /// /// Gets or sets the full path to the example's assembly file. /// public string AssemblyPath { get; set; } = string.Empty; /// /// Gets or sets the list of categories this example belongs to. /// public List Categories { get; set; } = new (); /// /// Gets or sets the demo keystroke sequences defined for this example. /// public List DemoKeyStrokes { get; set; } = new (); /// /// Returns a string representation of this example info. /// /// A string containing the name and description. public override string ToString () { return $"{Name}: {Description}"; } }