DotNetToolPackage Class

Summary

Represents a dotnet tool package.
Namespace
Cake.DotNetTool.Module
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetToolPackage"] class Type type-node

Syntax

public sealed class DotNetToolPackage

Properties

Name Value Summary
Id string
Gets or sets the tool package ID.
ShortCode string
Gets or sets the tool package short code.
Version string
Gets or sets the tool package version.

Extension Methods

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