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