Summary
Represents a NuGet nuspec dependency.
- Namespace
- Cake
.Common .Tools .NuGet .Pack - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["NuSpecDependency"]
class Type type-node
Syntax
public class NuSpecDependency
Properties
Name | Value | Summary |
---|---|---|
Exclude | ICollection |
Gets or sets a list of include/exclude tags indicating of the dependency to
exclude in the final package. The default value is
build,analyzers which can
be over-written.
|
Id | string |
Gets or sets the dependency's package ID.
|
Include | ICollection |
Gets or sets a list of include/exclude tags indicating of the dependency to
include in the final package. The default value is
all .
|
TargetFramework | string |
Gets or sets the target framework for the dependency.
|
Version | string |
Gets or sets the dependency's version.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|