DotNetPackageListPackageItem Class

Summary

The package information.
Namespace
Cake.Common.Tools.DotNet.Package.List
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetPackageListPackageItem"] class Type type-node

Syntax

public sealed class DotNetPackageListPackageItem

Properties

Name Value Summary
AlternativePackage DotNetPackageListAlternativePackageItem
Gets the alternative package.
AutoReferenced string
Gets a value indicating whether the package is auto-referenced.
DeprecationReasons IEnumerable<string>
Gets the deprecation reasons.
Id string
Gets the package id.
LatestVersion string
Gets the latest version.
RequestedVersion string
Gets the requested version.
ResolvedVersion string
Gets the resolved version.
Vulnerabilities IEnumerable<DotNetPackageListVulnerabilityItem>
Gets the vulnerabilities list.

Extension Methods

Name Value Summary
Dump<DotNetPackageListPackageItem>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetPackageListPackageItem>(DotNetPackageListPackageItem[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DotNetPackageListPackageItem>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<DotNetPackageListPackageItem>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<DotNetPackageListPackageItem>(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<DotNetPackageListPackageItem>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin