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