2 instantiations of EnvVar
aspire (2)
BackchannelJsonSerializerContext.EnvVar.g.cs (1)
29ObjectCreator = () => new global::Aspire.Cli.Backchannel.EnvVar(),
DotNet\DotNetCliRunner.cs (1)
555startInfo.Environment.Select(kvp => new EnvVar { Name = kvp.Key, Value = kvp.Value }).ToList(),
41 references to EnvVar
aspire (38)
Backchannel\BackchannelJsonSerializerContext.cs (2)
30[JsonSerializable(typeof(EnvVar))] 31[JsonSerializable(typeof(List<EnvVar>))]
Backchannel\ExtensionBackchannel.cs (2)
43Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug, CancellationToken cancellationToken); 624public async Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug, CancellationToken cancellationToken)
BackchannelJsonSerializerContext.EnvVar.g.cs (18)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar>? _EnvVar; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> EnvVar 20get => _EnvVar ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.EnvVar)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> Create_EnvVar(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.EnvVar>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> jsonTypeInfo)) 27var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.EnvVar> 36jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Backchannel.EnvVar>(options, objectInfo); 53DeclaringType = typeof(global::Aspire.Cli.Backchannel.EnvVar), 55Getter = static obj => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Name, 56Setter = static (obj, value) => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Name = value!, 72DeclaringType = typeof(global::Aspire.Cli.Backchannel.EnvVar), 74Getter = static obj => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Value, 75Setter = static (obj, value) => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Value = value!, 91private void EnvVarSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.EnvVar? value) 101writer.WriteString(PropName_name, ((global::Aspire.Cli.Backchannel.EnvVar)value).Name); 102writer.WriteString(PropName_value, ((global::Aspire.Cli.Backchannel.EnvVar)value).Value);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
46if (type == typeof(global::Aspire.Cli.Backchannel.EnvVar)) 158if (type == typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>))
BackchannelJsonSerializerContext.ListEnvVar.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>>? _ListEnvVar; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> ListEnvVar 20get => _ListEnvVar ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> Create_ListEnvVar(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> jsonTypeInfo)) 27var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> 29ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>(), 33jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>, global::Aspire.Cli.Backchannel.EnvVar>(options, info); 43private void ListEnvVarSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>? value)
Interaction\ExtensionInteractionService.cs (2)
18Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug); 315public Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug)
Aspire.Cli.Tests (3)
TestServices\TestExtensionBackchannel.cs (2)
71public Func<string, List<string>, List<EnvVar>, bool, Task>? LaunchAppHostAsyncCallback { get; set; } 228public Task LaunchAppHostAsync(string projectPath, List<string> arguments, List<EnvVar> envVars, bool debug, CancellationToken cancellationToken)
TestServices\TestExtensionInteractionService.cs (1)
163public Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug)