2016-02-25 00:05:55 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
2016-03-17 18:45:13 +00:00
|
|
|
using Microsoft.DotNet.ProjectModel;
|
2016-02-25 00:05:55 +00:00
|
|
|
using Microsoft.DotNet.ProjectModel.Graph;
|
2016-03-17 18:45:13 +00:00
|
|
|
using Microsoft.DotNet.ProjectModel.Compilation;
|
2016-02-25 00:05:55 +00:00
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Utils
|
|
|
|
{
|
|
|
|
public interface IPackagedCommandSpecFactory
|
|
|
|
{
|
|
|
|
CommandSpec CreateCommandSpecFromLibrary(
|
|
|
|
LockFilePackageLibrary library,
|
|
|
|
string commandName,
|
|
|
|
IEnumerable<string> commandArguments,
|
|
|
|
IEnumerable<string> allowedExtensions,
|
|
|
|
string nugetPackagesRoot,
|
|
|
|
CommandResolutionStrategy commandResolutionStrategy,
|
2016-03-17 20:43:53 +00:00
|
|
|
string depsFilePath);
|
2016-02-25 00:05:55 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|