5 instantiations of DashboardUrlsState
aspire (1)
BackchannelJsonSerializerContext.DashboardUrlsState.g.cs (1)
30ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.DashboardUrlsState(){ DashboardHealthy = (bool)args[0], BaseUrlWithLoginToken = (string)args[1], CodespacesUrlWithLoginToken = (string)args[2] },
Aspire.Cli.Tests (4)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
844Task.FromResult(new DashboardUrlsState
Commands\RunCommandTests.cs (2)
346return Task.FromResult(new DashboardUrlsState 446appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new DashboardUrlsState
TestServices\TestAppHostBackchannel.cs (1)
55new DashboardUrlsState
37 references to DashboardUrlsState
aspire (30)
Backchannel\AppHostBackchannel.cs (4)
18Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken); 51public async Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken) 58var state = await rpc.InvokeWithCancellationAsync<DashboardUrlsState>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
16[JsonSerializable(typeof(DashboardUrlsState))]
Backchannel\ExtensionBackchannel.cs (2)
32Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken); 379public async Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken)
BackchannelJsonSerializerContext.DashboardUrlsState.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState>? _DashboardUrlsState; 18public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> DashboardUrlsState 20get => _DashboardUrlsState ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState)); 23private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> Create_DashboardUrlsState(global::System.Text.Json.JsonSerializerOptions options) 25if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.DashboardUrlsState>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> jsonTypeInfo)) 27var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.DashboardUrlsState> 36jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState>(options, objectInfo); 53DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 55Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).DashboardHealthy, 72DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 74Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).BaseUrlWithLoginToken, 91DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 93Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).CodespacesUrlWithLoginToken, 110private void DashboardUrlsStateSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.DashboardUrlsState? value) 120writer.WriteBoolean(PropName_DashboardHealthy, ((global::Aspire.Cli.Backchannel.DashboardUrlsState)value).DashboardHealthy); 121writer.WriteString(PropName_BaseUrlWithLoginToken, ((global::Aspire.Cli.Backchannel.DashboardUrlsState)value).BaseUrlWithLoginToken); 122writer.WriteString(PropName_CodespacesUrlWithLoginToken, ((global::Aspire.Cli.Backchannel.DashboardUrlsState)value).CodespacesUrlWithLoginToken);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
38if (type == typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState))
Commands\RunCommand.cs (1)
234var dashboardUrls = await InteractionService.ShowStatusAsync(RunCommandStrings.StartingDashboard, async () => { return await backchannel.GetDashboardUrlsAsync(cancellationToken); });
Interaction\ExtensionInteractionService.cs (2)
19void DisplayDashboardUrls(DashboardUrlsState dashboardUrls); 255public void DisplayDashboardUrls(DashboardUrlsState dashboardUrls)
Aspire.Cli.Tests (7)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
843public Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken) =>
TestServices\TestAppHostBackchannel.cs (2)
16public Func<CancellationToken, Task<DashboardUrlsState>>? GetDashboardUrlsAsyncCallback { get; set; } 49public Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken)
TestServices\TestExtensionBackchannel.cs (2)
40public Func<DashboardUrlsState, Task>? DisplayDashboardUrlsAsyncCallback { get; set; } 136public Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken)
TestServices\TestExtensionInteractionService.cs (2)
19public Action<DashboardUrlsState>? DisplayDashboardUrlsCallback { get; set; } 77public void DisplayDashboardUrls(DashboardUrlsState dashboardUrls)