Summary
Represents a Chocolatey nuspec file.
- Namespace
- Cake
.Common .Tools .Chocolatey .Pack - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ChocolateyNuSpecContent"]
class Type type-node
Syntax
public sealed class ChocolateyNuSpecContent
Properties
Name | Value | Summary |
---|---|---|
Exclude | string |
Gets or sets the file or files to exclude.
This is usually combined with a wildcard value in the
src attribute.
The exclude attribute can contain a semi-colon delimited list of files or a file pattern.
Using a double wildcard - ** - implies a recursive exclude pattern.
|
Source | string |
Gets or sets the location of the file or files to include.
The path is relative to the NuSpec file unless an absolute path is specified.
The wildcard character -
* - is allowed.
Using a double wildcard - ** implies a recursive directory search.
|
Target | string |
Gets or sets the relative path to the directory within the package where the source files will be placed.
|
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
|