2018-01-24 10:16:27 -08:00
|
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
|
2018-01-17 19:26:52 -08:00
|
|
|
|
using System.Collections.Generic;
|
2018-01-24 10:16:27 -08:00
|
|
|
|
using Microsoft.Extensions.EnvironmentAbstractions;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.ToolPackage
|
|
|
|
|
{
|
|
|
|
|
internal interface IToolPackageObtainer
|
|
|
|
|
{
|
|
|
|
|
ToolConfigurationAndExecutablePath ObtainAndReturnExecutablePath(
|
|
|
|
|
string packageId,
|
|
|
|
|
string packageVersion = null,
|
|
|
|
|
FilePath? nugetconfig = null,
|
|
|
|
|
string targetframework = null,
|
2018-01-17 19:26:52 -08:00
|
|
|
|
string source = null,
|
|
|
|
|
string verbosity = null);
|
2018-01-24 10:16:27 -08:00
|
|
|
|
}
|
|
|
|
|
}
|