Skip to content
Docs Try Aspire
Docs Try

JavaAppExecutableResource Constructors

Class Constructors 2 members
A resource that represents a Java application.
Initializes a new instance of the JavaAppExecutableResource class.
public class JavaAppExecutableResource
{
public JavaAppExecutableResource(
string name,
string workingDirectory)
{
// ...
}
}
name string The name of the resource.
workingDirectory string The working directory to use for the command.
Constructor(string, string, string) Section titled Constructor(string, string, string)
Initializes a new instance of the JavaAppExecutableResource class.
public class JavaAppExecutableResource
{
public JavaAppExecutableResource(
string name,
string command,
string workingDirectory)
{
// ...
}
}
name string The name of the resource.
command string The command to execute.
workingDirectory string The working directory to use for the command.