1 write to Template
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
14Template = template;
5 references to Template
Microsoft.AspNetCore.Shared.Tests (5)
CommandLineApplicationTests.cs (2)
1201Assert.Equal(firstActualOption, firstOption.Template); 1202Assert.Equal(secondActualOption, secondOption.Template);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
496var maxOptLen = options.Max(o => o.Template.Length); 500optionsBuilder.AppendFormat(CultureInfo.InvariantCulture, outputFormat, opt.Template, opt.Description);
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
18foreach (var part in Template.Split(new[] { ' ', '|' }, StringSplitOptions.RemoveEmptyEntries))