3 instantiations of NodeAppResource
Aspire.Hosting.NodeJs.Tests (3)
NodeJsPublicApiTests.cs (3)
109var action = () => new NodeAppResource(name, command, workingDirectory); 122var action = () => new NodeAppResource(name, command, workingDirectory); 135var action = () => new NodeAppResource(name, command, workingDirectory);
9 references to NodeAppResource
Aspire.Hosting.NodeJs (6)
NodeExtensions.cs (6)
23public static IResourceBuilder<NodeAppResource> AddNodeApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string scriptPath, string? workingDirectory = null, string[]? args = null) 34var resource = new NodeAppResource(name, "node", workingDirectory); 50public static IResourceBuilder<NodeAppResource> AddNpmApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string scriptName = "start", string[]? args = null) 63var resource = new NodeAppResource(name, "npm", workingDirectory); 70private static IResourceBuilder<NodeAppResource> WithNodeDefaults(this IResourceBuilder<NodeAppResource> builder) =>
Aspire.Hosting.NodeJs.Tests (2)
NodeAppFixture.cs (2)
25public IResourceBuilder<NodeAppResource>? NodeAppBuilder { get; private set; } 26public IResourceBuilder<NodeAppResource>? NpmAppBuilder { get; private set; }
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
149and not NodeAppResource