3 instantiations of ResourceSnapshotUrl
aspire (1)
BackchannelJsonSerializerContext.ResourceSnapshotUrl.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
(){ Name = (string)args[0], Url = (string)args[1], IsInternal = (bool)args[2], DisplayProperties = (global::Aspire.Cli.Backchannel.ResourceSnapshotUrlDisplayProperties)args[3] },
Aspire.Cli.Tests (2)
Backchannel\ResourceSnapshotMapperTests.cs (1)
57
new
ResourceSnapshotUrl
{ Name = "http", Url = "http://localhost:5000" }
Mcp\ListResourcesToolTests.cs (1)
153
new
ResourceSnapshotUrl
{ Name = "http", Url = "http://localhost:5000" }
45 references to ResourceSnapshotUrl
aspire (45)
BackchannelJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
190
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
))
194
if (type == typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]))
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] },
274
var info11 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>
289
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.ResourceSnapshot).GetProperty("Urls", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]), global::System.Array.Empty<global::System.Type>(), null),
292
properties[11] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>(options, info11);
602
ParameterType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]),
BackchannelJsonSerializerContext.ResourceSnapshotUrl.g.cs (27)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
>? _ResourceSnapshotUrl;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
> ResourceSnapshotUrl
22
get => _ResourceSnapshotUrl ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
> Create_ResourceSnapshotUrl(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
).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.
ResourceSnapshotUrl
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
),
58
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)obj).Name,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
),
81
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)obj).Url,
89
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
).GetProperty("Url", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
),
104
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)obj).IsInternal,
112
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
).GetProperty("IsInternal", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
),
124
Getter = static obj => ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)obj).DisplayProperties,
132
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
).GetProperty("DisplayProperties", InstanceMemberBindingFlags, null, typeof(global::Aspire.Cli.Backchannel.ResourceSnapshotUrlDisplayProperties), global::System.Array.Empty<global::System.Type>(), null),
142
private void ResourceSnapshotUrlSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
? value)
152
writer.WriteString(PropName_Name, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)value).Name);
153
writer.WriteString(PropName_Url, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)value).Url);
154
writer.WriteBoolean(PropName_IsInternal, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)value).IsInternal);
156
ResourceSnapshotUrlDisplayPropertiesSerializeHandler(writer, ((global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
)value).DisplayProperties);
BackchannelJsonSerializerContext.ResourceSnapshotUrlArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>? _ResourceSnapshotUrlArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]> ResourceSnapshotUrlArray
22
get => _ResourceSnapshotUrlArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]> Create_ResourceSnapshotUrlArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
>(options, info);
45
private void ResourceSnapshotUrlArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Backchannel.
ResourceSnapshotUrl
[]? value)
src\Aspire.Hosting\Backchannel\BackchannelDataTypes.cs (1)
635
public
ResourceSnapshotUrl
[] Urls { get; init; } = [];