1 instantiation of ResourceSnapshotRelationship
aspire (1)
BackchannelJsonSerializerContext.ResourceSnapshotRelationship.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
(){ ResourceName = (string)args[0], Type = (string)args[1] },
38 references to ResourceSnapshotRelationship
aspire (38)
Backchannel\ResourceSnapshotMapper.cs (1)
85
foreach (
var
relationship in snapshot.Relationships ?? [])
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
182
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
))
186
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]))
BackchannelJsonSerializerContext.ResourceSnapshot.g.cs (5)
32
ObjectWithParameterizedConstructorCreator = 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] },
296
var info12 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>
311
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshot).GetProperty("Relationships", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]), global::System.Array.Empty<global::System.Type>(), null),
314
properties[12] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>(options, info12);
611
ParameterType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]),
BackchannelJsonSerializerContext.ResourceSnapshotRelationship.g.cs (19)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
>? _ResourceSnapshotRelationship;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
> ResourceSnapshotRelationship
22
get => _ResourceSnapshotRelationship ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
> Create_ResourceSnapshotRelationship(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
).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.
ResourceSnapshotRelationship
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
),
58
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
)obj).ResourceName,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
).GetProperty("ResourceName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
),
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
)obj).Type,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
private void ResourceSnapshotRelationshipSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
? value)
112
writer.WriteString(PropName_ResourceName, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
)value).ResourceName);
113
writer.WriteString(PropName_Type, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
)value).Type);
BackchannelJsonSerializerContext.ResourceSnapshotRelationshipArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>? _ResourceSnapshotRelationshipArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]> ResourceSnapshotRelationshipArray
22
get => _ResourceSnapshotRelationshipArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]> Create_ResourceSnapshotRelationshipArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
>(options, info);
45
private void ResourceSnapshotRelationshipArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotRelationship
[]? value)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
640
public
ResourceSnapshotRelationship
[] Relationships { get; init; } = [];