45 references to Save
aspire (12)
Configuration\AspireConfigFile.cs (1)
275
config.
Save
(directory);
Projects\GuestAppHostProject.cs (1)
291
config.
Save
(configDir.FullName);
Projects\ProjectUpdater.cs (1)
589
configToSave.
Save
(configRoot.FullName);
Scaffolding\ScaffoldingService.cs (2)
130
config.
Save
(directory.FullName);
285
config.
Save
(directory.FullName);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
83
config.
Save
(outputPath);
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
87
config.
Save
(outputPath);
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
75
config.
Save
(outputPath);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (2)
88
config.
Save
(outputPath);
148
config.
Save
(outputPath);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
73
config.
Save
(outputPath);
Templating\DotNetTemplateFactory.cs (1)
555
config.
Save
(outputPath);
Aspire.Cli.Tests (33)
Configuration\AspireConfigFileTests.cs (8)
85
config.
Save
(workspace.Path);
125
config.
Save
(workspace.Path);
301
config.
Save
(workspace.WorkspaceRoot.FullName);
319
config.
Save
(subDir);
335
config.
Save
(workspace.WorkspaceRoot.FullName);
581
config.
Save
(workspace.WorkspaceRoot.FullName);
707
config.
Save
(workspace.WorkspaceRoot.FullName);
736
config.
Save
(workspace.WorkspaceRoot.FullName);
Configuration\DotNetBasedAppHostServerChannelResolutionTests.cs (2)
50
config.
Save
(appPath);
95
config.
Save
(appPath);
Configuration\PrebuiltAppHostServerChannelResolutionTests.cs (2)
41
config.
Save
(appHostDirectory.FullName);
85
config.
Save
(appHostDirectory.FullName);
Packaging\PackageChannelTests.cs (3)
591
config.
Save
(workspace.WorkspaceRoot.FullName);
906
config.
Save
(workspace.WorkspaceRoot.FullName);
937
config.
Save
(workspace.WorkspaceRoot.FullName);
Projects\GuestAppHostProjectTests.cs (5)
74
}.
Save
(root.FullName);
102
}.
Save
(root.FullName);
134
}.
Save
(root.FullName);
171
}.
Save
(root.FullName);
2203
}.
Save
(root.FullName);
Projects\NativeAppHostServerProjectTests.cs (4)
41
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(enabled.FullName);
42
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = false } }.
Save
(disabled.FullName);
59
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(workspace.Path);
71
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(workspace.Path);
Projects\PrebuiltAppHostServerTests.cs (1)
4353
config.
Save
(projectDirectory.FullName);
Projects\ProjectLocatorTests.cs (5)
1735
staleConfig.
Save
(srcDirectory.FullName);
3155
config.
Save
(workspace.WorkspaceRoot.FullName);
3176
config1.
Save
(appHost1Dir.FullName);
3182
config2.
Save
(appHost2Dir.FullName);
3208
config.
Save
(workspace.WorkspaceRoot.FullName);
Projects\ProjectUpdaterTests.cs (3)
434
new AspireConfigFile { SdkVersion = "9.4.1" }.
Save
(workspace.Path);
1484
new AspireConfigFile { SdkVersion = "9.5.0" }.
Save
(workspace.Path);
2961
new AspireConfigFile { SdkVersion = "9.4.1" }.
Save
(workspace.Path);