mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			560 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			560 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
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);
 | 
						|
		public Task<IEnumerable<string>> GetPossibleParameters();
 | 
						|
		public int? Progress();
 | 
						|
	}
 | 
						|
} |