5 references to AddSourceOption
dotnet (2)
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
65
_sources = result.GetValue(ToolRestoreCommandParser.
AddSourceOption
);
Commands\Tool\Restore\ToolRestoreCommandParser.cs (1)
35
command.Options.Add(
AddSourceOption
);
dotnet.Tests (3)
CommandTests\Tool\Restore\ToolRestoreParserTests.cs (3)
46
result.GetRequiredValue(ToolRestoreCommandParser.
AddSourceOption
).First().Should().Be(expectedSourceValue);
61
result.GetRequiredValue(ToolRestoreCommandParser.
AddSourceOption
)[0].Should().Be(expectedSourceValue1);
62
result.GetRequiredValue(ToolRestoreCommandParser.
AddSourceOption
)[1].Should().Be(expectedSourceValue2);