mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
17 lines
440 B
C#
17 lines
440 B
C#
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Kyoo.Models
|
|
{
|
|
public interface ITask
|
|
{
|
|
public string Slug { get; }
|
|
public string Name { get; }
|
|
public string Description { get; }
|
|
public string HelpMessage { get; }
|
|
public bool RunOnStartup { get; }
|
|
public int Priority { get; }
|
|
public Task Run(IServiceProvider serviceProvider, CancellationToken cancellationToken, string arguments = null);
|
|
}
|
|
} |