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