2 instantiations of AppHostProfilePorts
aspire (2)
Commands\InitCommand.cs (1)
748ports = new AppHostProfilePorts(
src\Shared\AppHostProfilePortGenerator.cs (1)
25return new AppHostProfilePorts(
15 references to AppHostProfilePorts
aspire (15)
Commands\InitCommand.cs (7)
306var ports = AppHostProfilePortGenerator.Generate(Random.Shared); 532private (int ExitCode, AppHostProfilePorts EffectivePorts) DropAspireConfig(DirectoryInfo directory, string appHostPath, string? language, string? channel, AppHostProfilePorts? ports = null) 600AppHostProfilePorts effectivePorts; 602if (existingProfilesObject is not null && TryReadAppHostProfilePorts(existingProfilesObject, out var readPorts)) 722private static bool TryReadAppHostProfilePorts(JsonObject profiles, out AppHostProfilePorts ports) 790private void DropAppHostRunJson(DirectoryInfo directory, AppHostProfilePorts ports)
src\Shared\AppHostProfilePortGenerator.cs (1)
21internal static AppHostProfilePorts Generate(Random random)
Templating\CliTemplateFactory.cs (2)
274private static string ApplyTokens(string content, string projectName, string projectNameLower, string aspireVersion, AppHostProfilePorts ports, string hostName = "localhost") 289private static AppHostProfilePorts GenerateRandomPorts()
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
173var 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();