NuSpecPackageType Class

Summary

Specifies the package's package type that indicates its intended use.
Namespace
Cake.Common.Tools.NuGet.Pack
Base Types
  • object
graph BT Type-->Base0["object"] Type["NuSpecPackageType"] class Type type-node

Syntax

public class NuSpecPackageType

Properties

Name Value Summary
Name string
Gets or sets the package type, e.g DotnetCliTool Defaults to Dependency.
Version string
Gets or sets the version of the package type.

Extension Methods

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