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