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