15 instantiations of InputGeneratorAnnotation
Aspire.Hosting (2)
ParameterResourceBuilderExtensions.cs (2)
277builder.Resource.Annotations.Add(new InputGeneratorAnnotation(createInput)); 294builder.Resource.Annotations.Add(new InputGeneratorAnnotation(parameter => new InteractionInput
Aspire.Hosting.Tests (13)
Orchestrator\ParameterProcessorTests.cs (13)
1312parameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1344regionParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1351zoneParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1390regionParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1398zoneParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1432regionParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1485parameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1492zoneParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1521duplicate.Annotations.Add(new InputGeneratorAnnotation(_ => CreateInput("Value"))); 1523otherDuplicate.Annotations.Add(new InputGeneratorAnnotation(_ => CreateInput("Value"))); 1525regionParameter.Annotations.Add(new InputGeneratorAnnotation(_ => CreateInput("Region"))); 1527zoneParameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput 1569parameter.Annotations.Add(new InputGeneratorAnnotation(_ => new InteractionInput
5 references to InputGeneratorAnnotation
Aspire.Hosting (2)
ApplicationModel\ParameterResource.cs (2)
571if (this.TryGetLastAnnotation<InputGeneratorAnnotation>(out var annotation))
Aspire.Hosting.Tests (3)
AddParameterTests.cs (3)
745Assert.True(parameter.Resource.Annotations.OfType<InputGeneratorAnnotation>().Any()); 998Assert.True(parameter.Resource.Annotations.OfType<InputGeneratorAnnotation>().Any()); 1029Assert.True(parameter.Resource.Annotations.OfType<InputGeneratorAnnotation>().Any());