mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
15 lines
408 B
C#
15 lines
408 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Cosmos.Build.Builder
|
|
{
|
|
internal interface IDependency
|
|
{
|
|
string Name { get; }
|
|
bool ShouldInstallByDefault { get; }
|
|
|
|
string OtherDependencysThatAreMissing { get; }
|
|
Task<bool> IsInstalledAsync(CancellationToken cancellationToken);
|
|
Task InstallAsync(CancellationToken cancellationToken);
|
|
}
|
|
}
|