PackageType Enum

Summary

Represents a package type.
Namespace
Cake.Core.Packaging
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["PackageType"] class Type type-node

Syntax

public enum PackageType

Fields

Name Constant Value Summary
Addin 1
Represents an addin.
static
Module 3
Represents a module.
static
Tool 2
Represents a tool.
static
Unspecified 0
Represents an unspecified package type.
static

Extension Methods

Name Value Summary
Dump<PackageType>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PackageType>(PackageType[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<PackageType>(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<PackageType>(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