2 instantiations of AppHostProfilePorts
aspire (2)
Commands\InitCommand.cs (1)
820ports = new AppHostProfilePorts(
src\Shared\AppHostProfilePortGenerator.cs (1)
25return new AppHostProfilePorts(
15 references to AppHostProfilePorts
aspire (15)
Commands\InitCommand.cs (7)
379var ports = AppHostProfilePortGenerator.Generate(Random.Shared); 603private (int ExitCode, AppHostProfilePorts EffectivePorts) DropAspireConfig(DirectoryInfo directory, string appHostPath, string? language, string? channel, AppHostProfilePorts? ports = null) 671AppHostProfilePorts effectivePorts; 673if (existingProfilesObject is not null && TryReadAppHostProfilePorts(existingProfilesObject, out var readPorts)) 794private static bool TryReadAppHostProfilePorts(JsonObject profiles, out AppHostProfilePorts ports) 862private void DropAppHostRunJson(DirectoryInfo directory, AppHostProfilePorts ports)
src\Shared\AppHostProfilePortGenerator.cs (1)
21internal static AppHostProfilePorts Generate(Random random)
Templating\CliTemplateFactory.cs (2)
288private static string ApplyTokens(string content, string projectName, string projectNameLower, string aspireVersion, AppHostProfilePorts ports, string hostName = "localhost") 303private static AppHostProfilePorts GenerateRandomPorts()
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
174var ports = GenerateRandomPorts();
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
54var ports = GenerateRandomPorts();
Templating\CliTemplateFactory.JavaStarterTemplate.cs (1)
53var ports = GenerateRandomPorts();
Templating\CliTemplateFactory.PythonStarterTemplate.cs (1)
56var ports = GenerateRandomPorts();
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (1)
56var ports = GenerateRandomPorts();