2 instantiations of GetAppHostInfoResponse
aspire (2)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
415
return new
GetAppHostInfoResponse
BackchannelJsonSerializerContext.GetAppHostInfoResponse.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
(){ Pid = (string)args[0], AspireHostVersion = (string)args[1], AppHostPath = (string)args[2], CliProcessId = (int?)args[3], StartedAt = (global::System.DateTimeOffset?)args[4] },
35 references to GetAppHostInfoResponse
aspire (35)
Backchannel\AppHostAuxiliaryBackchannel.cs (2)
404
public async Task<
GetAppHostInfoResponse
?> GetAppHostInfoV2Async(CancellationToken cancellationToken = default)
429
return await rpc.InvokeWithCancellationAsync<
GetAppHostInfoResponse
>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
63
[JsonSerializable(typeof(
GetAppHostInfoResponse
))]
BackchannelJsonSerializerContext.GetAppHostInfoResponse.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
>? _GetAppHostInfoResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
> GetAppHostInfoResponse
22
get => _GetAppHostInfoResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
> Create_GetAppHostInfoResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).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.
GetAppHostInfoResponse
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
),
58
Getter = static obj => ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)obj).Pid,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).GetProperty("Pid", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
),
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)obj).AspireHostVersion,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).GetProperty("AspireHostVersion", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
),
104
Getter = static obj => ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)obj).AppHostPath,
112
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).GetProperty("AppHostPath", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
125
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
),
127
Getter = static obj => ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)obj).CliProcessId,
135
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).GetProperty("CliProcessId", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null),
145
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
),
147
Getter = static obj => ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)obj).StartedAt,
155
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
).GetProperty("StartedAt", InstanceMemberBindingFlags, null, typeof(global::System.DateTimeOffset?), global::System.Array.Empty<global::System.Type>(), null),
165
private void GetAppHostInfoResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
? value)
175
writer.WriteString(PropName_Pid, ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)value).Pid);
176
writer.WriteString(PropName_AspireHostVersion, ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)value).AspireHostVersion);
177
writer.WriteString(PropName_AppHostPath, ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)value).AppHostPath);
179
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)value).CliProcessId, NullableInt32);
181
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
)value).StartedAt, NullableDateTimeOffset);
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
78
if (type == typeof(global::Aspire.Cli.Backchannel.
GetAppHostInfoResponse
))