3 instantiations of ResourcesOutput
aspire (2)
Commands\ResourcesCommand.cs (1)
165
var output = new
ResourcesOutput
{ Resources = resourceList.ToArray() };
ResourcesCommandJsonContext.ResourcesOutput.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Aspire.Cli.Commands.
ResourcesOutput
(){ Resources = (global::Aspire.Shared.Model.Serialization.ResourceJson[])args[0] },
Aspire.Cli.Tests (1)
Commands\ResourcesCommandTests.cs (1)
199
var resourcesOutput = new
ResourcesOutput
20 references to ResourcesOutput
aspire (18)
Commands\ResourcesCommand.cs (2)
27
[JsonSerializable(typeof(
ResourcesOutput
))]
165
var
output = new ResourcesOutput { Resources = resourceList.ToArray() };
ResourcesCommandJsonContext.GetJsonTypeInfo.g.cs (1)
26
if (type == typeof(global::Aspire.Cli.Commands.
ResourcesOutput
))
ResourcesCommandJsonContext.ResourcesOutput.g.cs (15)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
ResourcesOutput
>? _ResourcesOutput;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
ResourcesOutput
> ResourcesOutput
22
get => _ResourcesOutput ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
ResourcesOutput
>)Options.GetTypeInfo(typeof(global::Aspire.Cli.Commands.
ResourcesOutput
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
ResourcesOutput
> Create_ResourcesOutput(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Cli.Commands.
ResourcesOutput
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Cli.Commands.
ResourcesOutput
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Cli.Commands.
ResourcesOutput
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
ResourcesOutput
).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.Commands.
ResourcesOutput
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Cli.Commands.
ResourcesOutput
),
58
Getter = static obj => ((global::Aspire.Cli.Commands.
ResourcesOutput
)obj).Resources,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Cli.Commands.
ResourcesOutput
).GetProperty("Resources", InstanceMemberBindingFlags, null, typeof(global::Aspire.Shared.Model.Serialization.ResourceJson[]), global::System.Array.Empty<global::System.Type>(), null),
79
private void ResourcesOutputSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Cli.Commands.
ResourcesOutput
? value)
89
global::Aspire.Shared.Model.Serialization.ResourceJson[] __value_Resources = ((global::Aspire.Cli.Commands.
ResourcesOutput
)value).Resources;
Aspire.Cli.Tests (2)
Commands\ResourcesCommandTests.cs (2)
199
var
resourcesOutput = new ResourcesOutput
217
var
deserialized = System.Text.Json.JsonSerializer.Deserialize(json, ResourcesCommandJsonContext.RelaxedEscaping.ResourcesOutput);