1 implementation of ICommand
Microsoft.Arcade.Common (1)
Command.cs (1)
12public class Command : ICommand
31 references to ICommand
Microsoft.Arcade.Common (26)
Command.cs (10)
49public ICommand QuietBuildReporter() 113public ICommand WorkingDirectory(string projectDirectory) 119public ICommand EnvironmentVariable(string name, string value) 130public ICommand ForwardStatus(TextWriter to = null) 144public ICommand CaptureStdOut() 152public ICommand CaptureStdErr() 160public ICommand ForwardStdOut(TextWriter to = null) 175public ICommand ForwardStdErr(TextWriter to = null) 190public ICommand OnOutputLine(Action<string> handler) 202public ICommand OnErrorLine(Action<string> handler)
CommandFactory.cs (3)
14public ICommand Create(string executable, params string[] args) 19public ICommand Create(string executable, IEnumerable<string> args) 24public ICommand Create(string executable, string args)
ICommand.cs (10)
13ICommand CaptureStdErr(); 14ICommand CaptureStdOut(); 15ICommand EnvironmentVariable(string name, string value); 16ICommand ForwardStatus(TextWriter to = null); 17ICommand ForwardStdErr(TextWriter to = null); 18ICommand ForwardStdOut(TextWriter to = null); 19ICommand OnErrorLine(Action<string> handler); 20ICommand OnOutputLine(Action<string> handler); 21ICommand QuietBuildReporter(); 22ICommand WorkingDirectory(string projectDirectory);
ICommandFactory.cs (3)
10ICommand Create(string executable, IEnumerable<string> args); 11ICommand Create(string executable, params string[] args); 12ICommand Create(string executable, string args);
Microsoft.DotNet.Helix.Sdk (1)
InstallDotNetTool.cs (1)
162ICommand command = commandFactory.Create(executable, args);
Microsoft.DotNet.Helix.Sdk.Tests (3)
InstallDotNetToolTests.cs (3)
30private readonly Mock<ICommand> _commandMock; 49_commandMock = new Mock<ICommand>(); 222var hangingCommand = new Mock<ICommand>();
Microsoft.DotNet.VersionTools (1)
Util\GitCommand.cs (1)
14internal static ICommand Create(params string[] args) => s_commandFactory.Create("git", args);