Tranga-Website/Publication.cs
glax 4b0a1c0a9d Added Structs Chapter and Publication
Added TaskManager and TrangaTask

TaskManager manages all TrangaTasks and starts Tasks when necessary.
Execution is necessary when time elapsed between last execution and now is greater than TrangaTask.reoccurrence.
2023-05-17 23:23:01 +02:00

20 lines
559 B
C#

namespace Tranga;
public struct Publication
{
public string sortName { get; }
public string[] titles { get; }
public string description { get; }
public string[] tags { get; }
public string posterUrl { get; } //maybe there is a better way?
public Publication(string sortName, string description, string[] titles, string[] tags, string posterUrl)
{
this.sortName = sortName;
this.description = description;
this.titles = titles;
this.tags = tags;
this.posterUrl = posterUrl;
}
}