23 lines
461 B
C#
Raw Normal View History

2023-05-11 23:11:39 -04:00
using System.Threading.Tasks;
namespace SPTInstaller.Interfaces;
public interface IProgressableTask
2023-05-11 23:11:39 -04:00
{
public string Id { get; }
public string Name { get; }
2024-05-01 10:31:55 -04:00
public bool IsCompleted { get; }
2024-05-01 10:31:55 -04:00
public bool HasErrors { get; }
2024-05-01 10:31:55 -04:00
public bool IsRunning { get; }
2024-05-01 10:31:55 -04:00
public string StatusMessage { get; }
2024-05-01 10:31:55 -04:00
public int Progress { get; }
2024-05-01 10:31:55 -04:00
public bool ShowProgress { get; }
2024-05-01 10:31:55 -04:00
public Task<IResult> RunAsync();
}