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