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