DotNetNuGetWhyGraph Class

Summary

A per-framework dependency graph from dotnet nuget why.
Namespace
Cake.Common.Tools.DotNet.NuGet.Why
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetNuGetWhyGraph"] class Type type-node

Syntax

public sealed class DotNetNuGetWhyGraph

Constructors

Name Summary
DotNetNuGetWhyGraph(string, IReadOnlyList<DotNetNuGetWhyPackage>) Initializes a new instance of the DotNetNuGetWhyGraph class.

Properties

Name Value Summary
Dependencies IReadOnlyList<DotNetNuGetWhyPackage>
Gets the root package dependencies for this framework.
Framework string
Gets the target framework, such as net10.0 or net9.0/win-x64.

Extension Methods

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