1 write to Values
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
16
Values
= new List<string>();
13 references to Values
Microsoft.AspNetCore.Shared.Tests (13)
CommandLineApplicationTests.cs (7)
186
Assert.Equal("one", first.
Values
[0]);
187
Assert.Equal("two", second.
Values
[0]);
225
Assert.Equal("one", first.
Values
[0]);
226
Assert.Equal("two", second.
Values
[0]);
246
Assert.Equal("one", first.
Values
[0]);
247
Assert.Equal("two", second.
Values
[0]);
847
top.
Values
.Clear();
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (6)
70
Values
.Add(value);
73
if (
Values
.Any())
77
Values
.Add(value);
85
Values
.Add("on");
95
return
Values
.Any();
100
return HasValue() ?
Values
[0] : null;