2 instantiations of AppHostProfilePorts
aspire (2)
Commands\InitCommand.cs (1)
782ports = new AppHostProfilePorts(
src\Shared\AppHostProfilePortGenerator.cs (1)
25return new AppHostProfilePorts(
15 references to AppHostProfilePorts
aspire (15)
Commands\InitCommand.cs (7)
341var ports = AppHostProfilePortGenerator.Generate(Random.Shared); 565private (int ExitCode, AppHostProfilePorts EffectivePorts) DropAspireConfig(DirectoryInfo directory, string appHostPath, string? language, string? channel, AppHostProfilePorts? ports = null) 633AppHostProfilePorts effectivePorts; 635if (existingProfilesObject is not null && TryReadAppHostProfilePorts(existingProfilesObject, out var readPorts)) 756private static bool TryReadAppHostProfilePorts(JsonObject profiles, out AppHostProfilePorts ports) 824private void DropAppHostRunJson(DirectoryInfo directory, AppHostProfilePorts ports)
src\Shared\AppHostProfilePortGenerator.cs (1)
21internal static AppHostProfilePorts Generate(Random random)
Templating\CliTemplateFactory.cs (2)
284private static string ApplyTokens(string content, string projectName, string projectNameLower, string aspireVersion, AppHostProfilePorts ports, string hostName = "localhost") 299private static AppHostProfilePorts GenerateRandomPorts()
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
174var ports = GenerateRandomPorts();
Templating\CliTemplateFactory.GoStarterTemplate.cs (1)
53var 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();