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