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