21 lines
654 B
C#
21 lines
654 B
C#
|
// 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.
|
|||
|
|
|||
|
using System.Collections.Generic;
|
|||
|
using NuGet.Frameworks;
|
|||
|
|
|||
|
namespace Microsoft.DotNet.Cli.Utils
|
|||
|
{
|
|||
|
public class CommandFactory : ICommandFactory
|
|||
|
{
|
|||
|
public ICommand Create(
|
|||
|
string commandName,
|
|||
|
IEnumerable<string> args,
|
|||
|
NuGetFramework framework = null,
|
|||
|
string configuration = Constants.DefaultConfiguration)
|
|||
|
{
|
|||
|
return Command.Create(commandName, args, framework, configuration);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|