NodeAppResource(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A resource that represents a node application.
public NodeAppResource (string name, string command, string workingDirectory);
new Aspire.Hosting.NodeAppResource : string * string * string -> Aspire.Hosting.NodeAppResource
Public Sub New (name As String, command As String, workingDirectory As String)
Parameters
- name
- String
The name of the resource.
- command
- String
The command to execute.
- workingDirectory
- String
The working directory to use for the command. If null, the working directory of the current process is used.