glax
4b0a1c0a9d
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;
|
|
}
|
|
} |