2017-03-03 05:04:03 +00: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.
|
|
|
|
|
2016-02-25 00:05:55 +00:00
|
|
|
using System.Collections.Generic;
|
2016-09-23 22:30:53 +00:00
|
|
|
using NuGet.ProjectModel;
|
2016-02-25 00:05:55 +00:00
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Utils
|
|
|
|
{
|
|
|
|
public interface IPackagedCommandSpecFactory
|
|
|
|
{
|
2016-03-28 06:54:17 +00:00
|
|
|
CommandSpec CreateCommandSpecFromLibrary(
|
2016-03-28 05:24:20 +00:00
|
|
|
LockFileTargetLibrary toolLibrary,
|
2016-02-25 00:05:55 +00:00
|
|
|
string commandName,
|
|
|
|
IEnumerable<string> commandArguments,
|
|
|
|
IEnumerable<string> allowedExtensions,
|
|
|
|
string nugetPackagesRoot,
|
|
|
|
CommandResolutionStrategy commandResolutionStrategy,
|
2016-04-07 23:20:51 +00:00
|
|
|
string depsFilePath,
|
|
|
|
string runtimeConfigPath);
|
2017-03-03 05:04:03 +00:00
|
|
|
|
2016-02-25 00:05:55 +00:00
|
|
|
}
|
|
|
|
}
|