1 instantiation of ContainerRuntimeArgsCallbackAnnotation
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
378
var annotation = new
ContainerRuntimeArgsCallbackAnnotation
(callback);
8 references to ContainerRuntimeArgsCallbackAnnotation
Aspire.Hosting (5)
ApplicationModel\ContainerRuntimeArgsCallbackAnnotation.cs (2)
15
/// Initializes a new instance of the <see cref="
ContainerRuntimeArgsCallbackAnnotation
"/> class with the specified callback action.
26
/// Initializes a new instance of the <see cref="
ContainerRuntimeArgsCallbackAnnotation
"/> class with the specified callback action.
ApplicationModel\ResourceExtensions.cs (2)
398
if (resource.TryGetAnnotationsOfType<
ContainerRuntimeArgsCallbackAnnotation
>(out var runArgsCallback))
404
foreach (
var
callback in runArgsCallback)
ContainerResourceBuilderExtensions.cs (1)
378
var
annotation = new ContainerRuntimeArgsCallbackAnnotation(callback);
Aspire.Hosting.Azure.Kusto.Tests (3)
AddAzureKustoTests.cs (3)
109
var
argsAnnotation = resourceBuilder.Resource.Annotations.OfType<
ContainerRuntimeArgsCallbackAnnotation
>().SingleOrDefault();
389
public static async Task<IList<object>> GetContainerRuntimeArgs(this
ContainerRuntimeArgsCallbackAnnotation
annotation)