6 instantiations of DashboardUrlsState
aspire (1)
BackchannelJsonSerializerContext.DashboardUrlsState.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.DashboardUrlsState(){ DashboardHealthy = (bool)args[0], BaseUrlWithLoginToken = (string)args[1], CodespacesUrlWithLoginToken = (string)args[2] },
Aspire.Cli.Tests (5)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
855Task.FromResult(new DashboardUrlsState
Commands\RunCommandTests.cs (3)
339return Task.FromResult(new DashboardUrlsState 440appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new DashboardUrlsState 503appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new DashboardUrlsState
TestServices\TestAppHostBackchannel.cs (1)
55new DashboardUrlsState
41 references to DashboardUrlsState
aspire (34)
Backchannel\AppHostBackchannel.cs (4)
18Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken); 52public async Task<DashboardUrlsState> GetDashboardUrlsAsync(CancellationToken cancellationToken) 59var state = await rpc.InvokeWithCancellationAsync<DashboardUrlsState>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
17[JsonSerializable(typeof(DashboardUrlsState))]
Backchannel\ExtensionBackchannel.cs (2)
32Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken); 380public async Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken)
BackchannelJsonSerializerContext.DashboardUrlsState.g.cs (23)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState>? _DashboardUrlsState; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> DashboardUrlsState 22get => _DashboardUrlsState ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> Create_DashboardUrlsState(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.DashboardUrlsState>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.DashboardUrlsState> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.DashboardUrlsState> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState).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.DashboardUrlsState>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 58Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).DashboardHealthy, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState).GetProperty("DashboardHealthy", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 78Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).BaseUrlWithLoginToken, 86AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState).GetProperty("BaseUrlWithLoginToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState), 98Getter = static obj => ((global::Aspire.Cli.Backchannel.DashboardUrlsState)obj).CodespacesUrlWithLoginToken, 106AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.DashboardUrlsState).GetProperty("CodespacesUrlWithLoginToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 116private void DashboardUrlsStateSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.DashboardUrlsState? value) 126writer.WriteBoolean(PropName_DashboardHealthy, ((global::Aspire.Cli.Backchannel.DashboardUrlsState)value).DashboardHealthy); 127writer.WriteString(PropName_BaseUrlWithLoginToken, ((global::Aspire.Cli.Backchannel.DashboardUrlsState)value).BaseUrlWithLoginToken); 128writer.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)
227var dashboardUrls = await InteractionService.ShowStatusAsync(RunCommandStrings.StartingDashboard, async () => { return await backchannel.GetDashboardUrlsAsync(cancellationToken); });
Interaction\ExtensionInteractionService.cs (2)
19void DisplayDashboardUrls(DashboardUrlsState dashboardUrls); 262public void DisplayDashboardUrls(DashboardUrlsState dashboardUrls)
Aspire.Cli.Tests (7)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
854public 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; } 139public Task DisplayDashboardUrlsAsync(DashboardUrlsState dashboardUrls, CancellationToken cancellationToken)
TestServices\TestExtensionInteractionService.cs (2)
19public Action<DashboardUrlsState>? DisplayDashboardUrlsCallback { get; set; } 78public void DisplayDashboardUrls(DashboardUrlsState dashboardUrls)