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