Skip to content
DocsTry Aspire
DocsTry

DotnetToolResource Constructors

ClassConstructors1 member
A resource that represents a specified dotnet tool.
Initializes a new instance of the DotnetToolResource class.
public class DotnetToolResource
{
public DotnetToolResource(
string name,
string packageId)
{
// ...
}
}
namestringThe name of the resource.
packageIdstringThe package id of the tool.