3 instantiations of AzureFunctionsProjectResource
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
42var resource = new AzureFunctionsProjectResource(name); 78var resource = new AzureFunctionsProjectResource(name);
Aspire.Hosting.Azure.Tests (1)
PublicApiTests\FunctionsPublicApiTests.cs (1)
88var action = () => new AzureFunctionsProjectResource(name);
46 references to AzureFunctionsProjectResource
Aspire.Hosting.Azure.Functions (15)
AzureFunctionsProjectResourceExtensions.cs (15)
13/// Extension methods for <see cref="AzureFunctionsProjectResource"/>. 36public static IResourceBuilder<AzureFunctionsProjectResource> AddAzureFunctionsProject<TProject>(this IDistributedApplicationBuilder builder, [ResourceName] string name) 42var resource = new AzureFunctionsProjectResource(name); 70public static IResourceBuilder<AzureFunctionsProjectResource> AddAzureFunctionsProject(this IDistributedApplicationBuilder builder, [ResourceName] string name, string projectPath) 78var resource = new AzureFunctionsProjectResource(name); 82private static IResourceBuilder<AzureFunctionsProjectResource> AddAzureFunctionsProjectCore( 84AzureFunctionsProjectResource resource, 112foreach (var item in data.Model.Resources.OfType<AzureFunctionsProjectResource>()) 198private static IResourceBuilder<AzureFunctionsProjectResource> WithFunctionsHttpEndpoint(this IResourceBuilder<AzureFunctionsProjectResource> builder) 262public static IResourceBuilder<AzureFunctionsProjectResource> WithHostStorage(this IResourceBuilder<AzureFunctionsProjectResource> builder, IResourceBuilder<AzureStorageResource> storage) 279public static IResourceBuilder<AzureFunctionsProjectResource> WithReference<TSource>(this IResourceBuilder<AzureFunctionsProjectResource> destination, IResourceBuilder<TSource> source, string? connectionName = null)
Aspire.Hosting.Azure.Tests (31)
AzureFunctionsTests.cs (30)
32resource is AzureFunctionsProjectResource && resource.Name == "funcapp"); 49var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 77var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 100var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 114var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 128var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 212var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 226var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 256var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 554var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 571var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 585var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 602var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 626resource is AzureFunctionsProjectResource && resource.Name == "funcapp"); 672var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>()); 754var functionsResource = Assert.Single(builder.Resources.OfType<AzureFunctionsProjectResource>());
PublicApiTests\FunctionsPublicApiTests.cs (1)
42IResourceBuilder<AzureFunctionsProjectResource> builder = null!;