2 instantiations of EnvVar
aspire (2)
BackchannelJsonSerializerContext.EnvVar.g.cs (1)
31ObjectCreator = () => new global::Aspire.Cli.Backchannel.EnvVar(),
DotNet\DotNetCliRunner.cs (1)
581startInfo.Environment.Select(kvp => new EnvVar { Name = kvp.Key, Value = kvp.Value }).ToList(),
44 references to EnvVar
aspire (41)
Backchannel\BackchannelJsonSerializerContext.cs (2)
31[JsonSerializable(typeof(EnvVar))] 32[JsonSerializable(typeof(List<EnvVar>))]
Backchannel\ExtensionBackchannel.cs (2)
43Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug, CancellationToken cancellationToken); 639public async Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug, CancellationToken cancellationToken)
BackchannelJsonSerializerContext.EnvVar.g.cs (21)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar>? _EnvVar; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> EnvVar 22get => _EnvVar ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.EnvVar)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> Create_EnvVar(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.EnvVar>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.EnvVar> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.EnvVar> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.EnvVar).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Backchannel.EnvVar>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Backchannel.EnvVar), 58Getter = static obj => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Name, 59Setter = static (obj, value) => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Name = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.EnvVar).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Aspire.Cli.Backchannel.EnvVar), 78Getter = static obj => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Value, 79Setter = static (obj, value) => ((global::Aspire.Cli.Backchannel.EnvVar)obj).Value = value!, 86AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.EnvVar).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 96private void EnvVarSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.EnvVar? value) 106writer.WriteString(PropName_name, ((global::Aspire.Cli.Backchannel.EnvVar)value).Name); 107writer.WriteString(PropName_value, ((global::Aspire.Cli.Backchannel.EnvVar)value).Value);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
46if (type == typeof(global::Aspire.Cli.Backchannel.EnvVar)) 162if (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; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> ListEnvVar 22get => _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>)); 25private 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) 27if (!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)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>> 31ObjectCreator = () => new global::System.Collections.Generic.List<global::Aspire.Cli.Backchannel.EnvVar>(), 35jsonTypeInfo = 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); 45private 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); 322public 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; } 231public Task LaunchAppHostAsync(string projectPath, List<string> arguments, List<EnvVar> envVars, bool debug, CancellationToken cancellationToken)
TestServices\TestExtensionInteractionService.cs (1)
168public Task LaunchAppHostAsync(string projectFile, List<string> arguments, List<EnvVar> environment, bool debug)