2 instantiations of AppHostProfilePorts
aspire (2)
Commands\InitCommand.cs (1)
755ports = new AppHostProfilePorts(
src\Shared\AppHostProfilePortGenerator.cs (1)
25return new AppHostProfilePorts(
15 references to AppHostProfilePorts
aspire (15)
Commands\InitCommand.cs (7)
313var ports = AppHostProfilePortGenerator.Generate(Random.Shared); 539private (int ExitCode, AppHostProfilePorts EffectivePorts) DropAspireConfig(DirectoryInfo directory, string appHostPath, string? language, string? channel, AppHostProfilePorts? ports = null) 607AppHostProfilePorts effectivePorts; 609if (existingProfilesObject is not null && TryReadAppHostProfilePorts(existingProfilesObject, out var readPorts)) 729private static bool TryReadAppHostProfilePorts(JsonObject profiles, out AppHostProfilePorts ports) 797private void DropAppHostRunJson(DirectoryInfo directory, AppHostProfilePorts ports)
src\Shared\AppHostProfilePortGenerator.cs (1)
21internal static AppHostProfilePorts Generate(Random random)
Templating\CliTemplateFactory.cs (2)
275private static string ApplyTokens(string content, string projectName, string projectNameLower, string aspireVersion, AppHostProfilePorts ports, string hostName = "localhost") 290private 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();