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