17 references to Append
Aspire.Hosting (13)
ApplicationModel\IResourceBuilder.cs (2)
29
IResourceBuilder<T> WithAnnotation<TAnnotation>(ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation, new() => WithAnnotation(new TAnnotation(), behavior);
39
IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation;
ApplicationModel\ResourceExtensions.cs (2)
552
return builder.WithAnnotation(new ContainerBuildOptionsCallbackAnnotation(callback), ResourceAnnotationMutationBehavior.
Append
);
572
return builder.WithAnnotation(new ContainerBuildOptionsCallbackAnnotation(callback), ResourceAnnotationMutationBehavior.
Append
);
ContainerResourceBuilderExtensions.cs (6)
105
}), ResourceAnnotationMutationBehavior.
Append
);
876
.WithAnnotation(defaultContainerBuildOptions, ResourceAnnotationMutationBehavior.
Append
)
881
.WithAnnotation(defaultContainerBuildOptions, ResourceAnnotationMutationBehavior.
Append
)
1404
return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.
Append
);
1476
return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.
Append
);
1519
return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.
Append
);
DistributedApplicationResourceBuilder.cs (2)
14
public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation
20
if (behavior != ResourceAnnotationMutationBehavior.
Append
&& behavior != ResourceAnnotationMutationBehavior.Replace)
ResourceBuilderExtensions.cs (1)
4287
return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.
Append
);
Aspire.Hosting.Azure.Sql (1)
AzureSqlServerResource.cs (1)
731
public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
155
resourceBuilder.WithAnnotation(new UnsupportedPlatformAnnotation(reason), ResourceAnnotationMutationBehavior.
Append
);
Aspire.Hosting.RemoteHost.Tests (1)
CapabilityDispatcherTests.cs (1)
2631
public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation
Aspire.Hosting.Tests (1)
ProjectResourceBuilderExtensionTests.cs (1)
126
[InlineData(ResourceAnnotationMutationBehavior.
Append
, "more than one")]