mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-30 16:14:17 +02:00
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.
20 lines
559 B
C#
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;
|
|
}
|
|
} |