Cosmos/source/Cosmos.Build.Builder/IDependency.cs
MishaTY 4af1b27e11 Show message on what exactly is missing
Show message on what exactly is missing
2021-01-05 11:21:29 -05:00

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);
}
}