9 instantiations of RuntimeSpec
Aspire.Cli.Tests (4)
Projects\GuestRuntimeTests.cs (4)
21return new RuntimeSpec 267var spec = new RuntimeSpec 305new RuntimeSpec 333new RuntimeSpec
Aspire.Hosting.CodeGeneration.Go (1)
GoLanguageSupport.cs (1)
130return new RuntimeSpec
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
105return new RuntimeSpec
Aspire.Hosting.CodeGeneration.Python (1)
PythonLanguageSupport.cs (1)
139return new RuntimeSpec
Aspire.Hosting.CodeGeneration.Rust (1)
RustLanguageSupport.cs (1)
126return new RuntimeSpec
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptLanguageSupport.cs (1)
180return new RuntimeSpec
31 references to RuntimeSpec
aspire (9)
Backchannel\BackchannelJsonSerializerContext.cs (1)
18[JsonSerializable(typeof(RuntimeSpec))]
Projects\AppHostRpcClient.cs (2)
46public Task<RuntimeSpec> GetRuntimeSpecAsync(string languageId, CancellationToken cancellationToken) 47=> _jsonRpc.InvokeWithCancellationAsync<RuntimeSpec>("getRuntimeSpec", [languageId], cancellationToken);
Projects\GuestAppHostProject.cs (1)
1281var runtimeSpec = await rpcClient.GetRuntimeSpecAsync(_resolvedLanguage.LanguageId, cancellationToken);
Projects\GuestRuntime.cs (3)
13/// Interprets <see cref="RuntimeSpec"/> to install dependencies and execute AppHost processes. 17private readonly RuntimeSpec _spec; 29public GuestRuntime(RuntimeSpec spec, ILogger logger, FileLoggerProvider? fileLoggerProvider = null, Func<string, string?>? commandResolver = null)
Projects\IAppHostRpcClient.cs (1)
23Task<RuntimeSpec> GetRuntimeSpecAsync(string languageId, CancellationToken cancellationToken);
Scaffolding\ScaffoldingService.cs (1)
179var runtimeSpec = await rpcClient.GetRuntimeSpecAsync(language.LanguageId.Value, cancellationToken);
Aspire.Cli.Tests (14)
Projects\GuestRuntimeTests.cs (14)
15private static RuntimeSpec CreateTestSpec( 67var spec = CreateTestSpec(execute: new CommandSpec 87var spec = CreateTestSpec( 105var spec = CreateTestSpec(execute: new CommandSpec { Command = "run-cmd", Args = ["{appHostFile}"] }); 119var spec = CreateTestSpec( 137var spec = CreateTestSpec(execute: new CommandSpec { Command = "run-cmd", Args = ["{appHostFile}"] }); 151var spec = CreateTestSpec(execute: new CommandSpec 172var spec = CreateTestSpec(execute: new CommandSpec 192var spec = CreateTestSpec(execute: new CommandSpec 211var spec = CreateTestSpec(execute: new CommandSpec 229var spec = CreateTestSpec(execute: new CommandSpec 249var spec = CreateTestSpec(execute: new CommandSpec 267var spec = new RuntimeSpec 292var spec = CreateTestSpec();
Aspire.Hosting.CodeGeneration.Go (1)
GoLanguageSupport.cs (1)
125public RuntimeSpec GetRuntimeSpec()
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
103public RuntimeSpec GetRuntimeSpec()
Aspire.Hosting.CodeGeneration.Python (1)
PythonLanguageSupport.cs (1)
137public RuntimeSpec GetRuntimeSpec()
Aspire.Hosting.CodeGeneration.Rust (1)
RustLanguageSupport.cs (1)
124public RuntimeSpec GetRuntimeSpec()
Aspire.Hosting.CodeGeneration.TypeScript (1)
TypeScriptLanguageSupport.cs (1)
178public RuntimeSpec GetRuntimeSpec()
Aspire.Hosting.RemoteHost (2)
Language\LanguageService.cs (2)
105public RuntimeSpec GetRuntimeSpec(string language) 118var spec = languageSupport.GetRuntimeSpec();
Aspire.TypeSystem (1)
ILanguageSupport.cs (1)
35RuntimeSpec GetRuntimeSpec();