PublishTimes/Config.cs

24 lines
647 B
C#
Raw Normal View History

namespace PublishTimes;
2025-03-12 15:23:11 -04:00
/// <summary>
/// Represents the configuration settings for exporting a schedule,
/// including file name, directory path, and available topics.
/// </summary>
public class Config
{
2025-03-12 15:23:11 -04:00
/// <summary>
/// Gets or sets the name of the schedule file.
/// </summary>
public string? File { get; set; }
2025-03-12 15:23:11 -04:00
/// <summary>
/// Gets or sets the directory path where the schedule file is stored.
/// </summary>
public string? Path { get; set; }
2025-03-12 15:23:11 -04:00
/// <summary>
/// Gets or sets the list of available topics from the configuration file.
/// </summary>
public TomlArray? Topics { get; set; }
}