mirror of
https://github.com/tonytins/PublishTimes.git
synced 2025-03-15 04:01:20 +00:00
- Now properly checks for the config in the base application directory - Topics in sample config was changed - FileDir was renamed to outputDir - scheduleFile was renamed to outputFile - communities was renamed to defaultTopics
24 lines
731 B
C#
24 lines
731 B
C#
// I hereby waive this project under the public domain - see UNLICENSE for details.
|
|
namespace PublishTimes;
|
|
|
|
/// <summary>
|
|
/// Represents the configuration settings for exporting a schedule,
|
|
/// including file name, directory path, and available topics.
|
|
/// </summary>
|
|
public class Config
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the name of the schedule file.
|
|
/// </summary>
|
|
public string? File { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the directory path where the schedule file is stored.
|
|
/// </summary>
|
|
public string? Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the list of available topics from the configuration file.
|
|
/// </summary>
|
|
public TomlArray? Topics { get; set; }
|
|
}
|