5 writes to Name
aspire (2)
Commands\NewCommand.cs (2)
709
Name
= parseResult.GetValue(s_nameOption),
769
Name
= parseResult.GetValue(s_nameOption),
Aspire.Cli.Tests (3)
Commands\NewCommandLocalTemplateTests.ConfiguredGitSources.cs (1)
140
new TemplateInputs {
Name
= "Demo", Output = "out" }, command, TestContext.Current.CancellationToken);
Commands\NewCommandLocalTemplateTests.cs (1)
1616
var result = await first.ApplyTemplateAsync(new TemplateInputs {
Name
= "Demo", Output = "out" }, parseResult, TestContext.Current.CancellationToken);
Commands\NewCommandLocalTemplateTests.NuGetValues.cs (1)
434
new TemplateInputs {
Name
= "Demo", Output = "out" }, parseResult, cancellation.Token));
7 references to Name
aspire (7)
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
31
var projectName = inputs.
Name
;
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
16
var projectName = inputs.
Name
;
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
16
var projectName = inputs.
Name
;
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
17
var projectName = inputs.
Name
;
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
17
var projectName = inputs.
Name
;
Templating\DotNetTemplateFactory.cs (1)
599
if (inputs.
Name
is not { } name || !ProjectNameValidator.IsProjectNameValid(name))
Templating\TemplateEngineFactory.cs (1)
350
var name = inputs.
Name
is { } explicitName && ProjectNameValidator.IsProjectNameValid(explicitName)