Table of Contents

Class Add

Namespace
SunamoDotnetCmdBuilder
Assembly
SunamoDotnetCmdBuilder.dll

Provides methods for generating dotnet add commands.

public class Add
Inheritance
Add
Inherited Members
Extension Methods

Constructors

Add(StringBuilder)

Provides methods for generating dotnet add commands.

public Add(StringBuilder stringBuilder)

Parameters

stringBuilder StringBuilder

The StringBuilder to append commands to.

Methods

AddPackage(string, string)

Generates a dotnet add package command.

public void AddPackage(string projectPathOrName, string packageName)

Parameters

projectPathOrName string

The project path or name to add the package to.

packageName string

The name of the NuGet package to add.