Allowing tasks to take parameters

This commit is contained in:
Zoe Roux
2020-04-08 02:27:22 +02:00
parent f01b25b827
commit f00d1ec4e9
7 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ namespace Kyoo.Models
public string HelpMessage { get; }
public bool RunOnStartup { get; }
public int Priority { get; }
public Task Run(IServiceProvider serviceProvider, CancellationToken cancellationToken);
public Task Run(IServiceProvider serviceProvider, CancellationToken cancellationToken, string arguments = null);
}
}