File: E2EManifestModel.cs
Web Access
Project: src\src\Components\Testing\tasks\Microsoft.AspNetCore.Components.Testing.Tasks.csproj (Microsoft.AspNetCore.Components.Testing.Tasks)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Collections.Generic;
using System.Text.Json.Serialization;
 
namespace Microsoft.AspNetCore.Components.Testing.Tasks;
 
internal class E2EManifestModel
{
    [JsonPropertyName("apps")]
    public Dictionary<string, E2EAppEntryModel> Apps { get; set; } = new();
}
 
internal class E2EAppEntryModel
{
    [JsonPropertyName("executable")]
    public string Executable { get; set; } = "";
 
    [JsonPropertyName("arguments")]
    public string Arguments { get; set; } = "";
 
    [JsonPropertyName("workingDirectory")]
    public string WorkingDirectory { get; set; } = "";
 
    [JsonPropertyName("publicUrl")]
    public string PublicUrl { get; set; } = "";
 
    [JsonPropertyName("environmentVariables")]
    public Dictionary<string, string> EnvironmentVariables { get; set; } = new();
}