INugetPackages.Add(String, Action<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<NuGet.Packaging.Core.PackageIdentity> Add (string package, Action<string>? statusCallback = default);
abstract member Add : string * Action<string> -> System.Threading.Tasks.Task<NuGet.Packaging.Core.PackageIdentity>
Public Function Add (package As String, Optional statusCallback As Action(Of String) = Nothing) As Task(Of PackageIdentity)
Parameters
- package
- String
Returns
- Task<NuGet.Packaging.Core.PackageIdentity>