4 instantiations of GetDashboardInfoResponse
aspire (2)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
459return new GetDashboardInfoResponse
BackchannelJsonSerializerContext.GetDashboardInfoResponse.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.GetDashboardInfoResponse(){ McpBaseUrl = (string)args[0], McpApiToken = (string)args[1], ApiBaseUrl = (string)args[2], ApiToken = (string)args[3], DashboardUrls = (string[])args[4], IsHealthy = (bool)args[5] },
Aspire.Cli.Tests (2)
Mcp\ListStructuredLogsToolTests.cs (1)
419DashboardInfoResponse = new GetDashboardInfoResponse
Mcp\ListTracesToolTests.cs (1)
458DashboardInfoResponse = new GetDashboardInfoResponse
44 references to GetDashboardInfoResponse
aspire (42)
Backchannel\AppHostAuxiliaryBackchannel.cs (2)
441public async Task<GetDashboardInfoResponse?> GetDashboardInfoV2Async(CancellationToken cancellationToken = default) 474return await rpc.InvokeWithCancellationAsync<GetDashboardInfoResponse>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
65[JsonSerializable(typeof(GetDashboardInfoResponse))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
109Task<GetDashboardInfoResponse?> GetDashboardInfoV2Async(CancellationToken cancellationToken = default);
BackchannelJsonSerializerContext.GetDashboardInfoResponse.g.cs (35)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse>? _GetDashboardInfoResponse; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse> GetDashboardInfoResponse 22get => _GetDashboardInfoResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse> Create_GetDashboardInfoResponse(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.GetDashboardInfoResponse> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).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.GetDashboardInfoResponse>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 58Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).McpBaseUrl, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("McpBaseUrl", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 78Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).McpApiToken, 86AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("McpApiToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 98Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).ApiBaseUrl, 106AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("ApiBaseUrl", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 116DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 118Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).ApiToken, 126AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("ApiToken", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 136DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 138Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).DashboardUrls, 146AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("DashboardUrls", InstanceMemberBindingFlags, null, typeof(string[]), global::System.Array.Empty<global::System.Type>(), null), 159DeclaringType = typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse), 161Getter = static obj => ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)obj).IsHealthy, 169AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse).GetProperty("IsHealthy", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 179private void GetDashboardInfoResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.GetDashboardInfoResponse? value) 189writer.WriteString(PropName_McpBaseUrl, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).McpBaseUrl); 190writer.WriteString(PropName_McpApiToken, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).McpApiToken); 191writer.WriteString(PropName_ApiBaseUrl, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).ApiBaseUrl); 192writer.WriteString(PropName_ApiToken, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).ApiToken); 194StringArraySerializeHandler(writer, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).DashboardUrls); 195writer.WriteBoolean(PropName_IsHealthy, ((global::Aspire.Cli.Backchannel.GetDashboardInfoResponse)value).IsHealthy);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
98if (type == typeof(global::Aspire.Cli.Backchannel.GetDashboardInfoResponse))
Commands\TelemetryCommandHelpers.cs (1)
129var dashboardInfo = await result.Connection!.GetDashboardInfoV2Async(cancellationToken);
Mcp\Tools\McpToolHelpers.cs (1)
21var dashboardInfo = await connection.GetDashboardInfoV2Async(cancellationToken).ConfigureAwait(false);
Aspire.Cli.Tests (2)
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
122public GetDashboardInfoResponse? DashboardInfoResponse { get; set; } 124public Task<GetDashboardInfoResponse?> GetDashboardInfoV2Async(CancellationToken cancellationToken = default)