Skip to content
DocsTry Aspire
DocsTry

RequiredCommandAnnotation Constructors

ClassConstructors1 member
An annotation which declares that a resource requires a specific command/executable to be available on the local machine PATH before it can start.
An annotation which declares that a resource requires a specific command/executable to be available on the local machine PATH before it can start.
public class RequiredCommandAnnotation
{
public RequiredCommandAnnotation(
string command)
{
// ...
}
}
commandstringThe command string (file name or path) that should be validated.