22 references to AzureFunctionsProjectResource
Aspire.Hosting.Azure.Functions (11)
AzureFunctionsProjectResourceExtensions.cs (11)
14/// Extension methods for <see cref="AzureFunctionsProjectResource"/>. 36public static IResourceBuilder<AzureFunctionsProjectResource> AddAzureFunctionsProject<TProject>(this IDistributedApplicationBuilder builder, [ResourceName] string name) where TProject : IProjectMetadata, new() 38var resource = new AzureFunctionsProjectResource(name); 76foreach (var item in data.Model.Resources.OfType<AzureFunctionsProjectResource>()) 155private static IResourceBuilder<AzureFunctionsProjectResource> WithFunctionsHttpEndpoint(this IResourceBuilder<AzureFunctionsProjectResource> builder) 190public static IResourceBuilder<AzureFunctionsProjectResource> WithHostStorage(this IResourceBuilder<AzureFunctionsProjectResource> builder, IResourceBuilder<AzureStorageResource> storage) 204public static IResourceBuilder<AzureFunctionsProjectResource> WithReference<TSource>(this IResourceBuilder<AzureFunctionsProjectResource> destination, IResourceBuilder<TSource> source, string? connectionName = null)
Aspire.Hosting.Azure.Tests (11)
AzureFunctionsTests.cs (11)
25resource is AzureFunctionsProjectResource && resource.Name == "funcapp"); 35var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 50var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 64var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 78var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 92var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>());