DotNetNuGetWhyPackage Class

Summary

A package node in a dotnet nuget why dependency graph.
Namespace
Cake.Common.Tools.DotNet.NuGet.Why
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetNuGetWhyPackage"] class Type type-node

Syntax

public sealed class DotNetNuGetWhyPackage

Constructors

Properties

Name Value Summary
Dependencies IReadOnlyList<DotNetNuGetWhyPackage>
Gets the child package dependencies.
Id string
Gets the package identifier.
Version string
Gets the resolved package version.
VersionConstraint string
Gets the version constraint printed by the CLI, such as >= 3.2.2 or = 3.2.2.

Extension Methods

Name Value Summary
Dump<DotNetNuGetWhyPackage>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetNuGetWhyPackage>(DotNetNuGetWhyPackage[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DotNetNuGetWhyPackage>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DotNetNuGetWhyPackage>(string) void
Requires the Cake.Issues addin
ThrowIfNull<DotNetNuGetWhyPackage>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DotNetNuGetWhyPackage>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin