44 references to Save
aspire (12)
Configuration\AspireConfigFile.cs (1)
257
config.
Save
(directory);
Projects\GuestAppHostProject.cs (1)
291
config.
Save
(configDir.FullName);
Projects\ProjectUpdater.cs (1)
545
configToSave.
Save
(configRoot.FullName);
Scaffolding\ScaffoldingService.cs (2)
128
config.
Save
(directory.FullName);
275
config.
Save
(directory.FullName);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
83
config.
Save
(outputPath);
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
74
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 (32)
Configuration\AspireConfigFileTests.cs (7)
69
config.
Save
(workspace.Path);
242
config.
Save
(workspace.WorkspaceRoot.FullName);
260
config.
Save
(subDir);
276
config.
Save
(workspace.WorkspaceRoot.FullName);
522
config.
Save
(workspace.WorkspaceRoot.FullName);
648
config.
Save
(workspace.WorkspaceRoot.FullName);
677
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)
488
config.
Save
(workspace.WorkspaceRoot.FullName);
803
config.
Save
(workspace.WorkspaceRoot.FullName);
834
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);
2200
}.
Save
(root.FullName);
Projects\NativeAppHostServerProjectTests.cs (4)
32
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(enabled.FullName);
33
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = false } }.
Save
(disabled.FullName);
50
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(workspace.Path);
62
new AspireConfigFile { Features = new() { [KnownFeatures.AppHostServerV2] = true } }.
Save
(workspace.Path);
Projects\PrebuiltAppHostServerTests.cs (1)
4233
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)
430
new AspireConfigFile { SdkVersion = "9.4.1" }.
Save
(workspace.Path);
1480
new AspireConfigFile { SdkVersion = "9.5.0" }.
Save
(workspace.Path);
2956
new AspireConfigFile { SdkVersion = "9.4.1" }.
Save
(workspace.Path);