Skip to content
DocsTry Aspire
DocsTry

JavaScriptRunScriptAnnotation Constructors

ClassConstructors1 member
Represents the annotation for the script used during run mode in a JavaScript resource.
Constructor(string, string[]?)Section titled Constructor(string, string[]?)
Represents the annotation for the script used during run mode in a JavaScript resource.
public sealed class JavaScriptRunScriptAnnotation
{
public JavaScriptRunScriptAnnotation(
string scriptName,
string[]? args)
{
// ...
}
}
scriptNamestringThe name of the JavaScript package manager's run script.
argsstring[]?The command line arguments for the JavaScript package manager's run script.