mirror of
https://github.com/tonytins/staggerpost.git
synced 2025-07-06 06:40:32 -04:00
Huge Refactor
- Cleaned up Program.cs by moving a lot of functions to their own classes - Renamed topics to community - Choosing a community is no longer optional with the switch to JSON - Added csharpier tool and reformttered all code
This commit is contained in:
parent
d91ff3352b
commit
188318c724
12 changed files with 396 additions and 382 deletions
25
Config.cs
25
Config.cs
|
@ -7,19 +7,18 @@ namespace StaggerPost;
|
|||
/// </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 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 List<string> Topics { get; set; } = new List<string>();
|
||||
/// <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 List<string> Communities { get; set; } = new List<string>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue