1 instantiation of ResourceSnapshotHealthReport
aspire (1)
BackchannelJsonSerializerContext.ResourceSnapshotHealthReport.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport(){ Name = (string)args[0], Status = (string)args[1], Description = (string)args[2], ExceptionText = (string)args[3] },
45 references to ResourceSnapshotHealthReport
aspire (45)
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
170if (type == typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)) 174if (type == typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]))
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (5)
32ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.ResourceSnapshot(){ Name = (string)args[0], DisplayName = (string)args[1], ResourceType = (string)args[2], Type = (string)args[3], State = (string)args[4], StateStyle = (string)args[5], HealthStatus = (string)args[6], ExitCode = (int?)args[7], CreatedAt = (global::System.DateTimeOffset?)args[8], StartedAt = (global::System.DateTimeOffset?)args[9], StoppedAt = (global::System.DateTimeOffset?)args[10], Urls = (global::Aspire.Cli.Backchannel.ResourceSnapshotUrl[])args[11], Relationships = (global::Aspire.Cli.Backchannel.ResourceSnapshotRelationship[])args[12], HealthReports = (global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[])args[13], Volumes = (global::Aspire.Cli.Backchannel.ResourceSnapshotVolume[])args[14], EnvironmentVariables = (global::Aspire.Cli.Backchannel.ResourceSnapshotEnvironmentVariable[])args[15], Properties = (global::System.Collections.Generic.Dictionary<string, string>)args[16], McpServer = (global::Aspire.Cli.Backchannel.ResourceSnapshotMcpServer)args[17], Commands = (global::Aspire.Cli.Backchannel.ResourceSnapshotCommand[])args[18] }, 318var info13 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]> 333AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshot).GetProperty("HealthReports", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]), global::System.Array.Empty<global::System.Type>(), null), 336properties[13] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]>(options, info13); 620ParameterType = typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]),
BackchannelJsonSerializerContext.ResourceSnapshotHealthReport.g.cs (27)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport>? _ResourceSnapshotHealthReport; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport> ResourceSnapshotHealthReport 22get => _ResourceSnapshotHealthReport ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport> Create_ResourceSnapshotHealthReport(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport).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.ResourceSnapshotHealthReport>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport), 58Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)obj).Name, 66AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport), 81Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)obj).Status, 89AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport).GetProperty("Status", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 99DeclaringType = typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport), 101Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)obj).Description, 109AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport).GetProperty("Description", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 119DeclaringType = typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport), 121Getter = static obj => ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)obj).ExceptionText, 129AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport).GetProperty("ExceptionText", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 139private void ResourceSnapshotHealthReportSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport? value) 149writer.WriteString(PropName_Name, ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)value).Name); 150writer.WriteString(PropName_Status, ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)value).Status); 151writer.WriteString(PropName_Description, ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)value).Description); 152writer.WriteString(PropName_ExceptionText, ((global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport)value).ExceptionText);
BackchannelJsonSerializerContext.ResourceSnapshotHealthReportArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]>? _ResourceSnapshotHealthReportArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]> ResourceSnapshotHealthReportArray 22get => _ResourceSnapshotHealthReportArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]> Create_ResourceSnapshotHealthReportArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport>(options, info); 45private void ResourceSnapshotHealthReportArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.ResourceSnapshotHealthReport[]? value)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
645public ResourceSnapshotHealthReport[] HealthReports { get; init; } = [];