XBuildToolVersion Enum

Summary

Represents a XBuild tool version.
Namespace
Cake.Common.Tools.XBuild
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["XBuildToolVersion"] class Type type-node

Syntax

public enum XBuildToolVersion

Fields

Name Constant Value Summary
Default 0
The highest available XBuild tool version.
static
NET20 1
XBuild tool version: .NET 2.0
static
NET30 1
XBuild tool version: .NET 3.0
static
NET35 2
XBuild tool version: .NET 3.5
static
NET40 3
XBuild tool version: .NET 4.0
static

Extension Methods

Name Value Summary
Dump<XBuildToolVersion>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<XBuildToolVersion>(XBuildToolVersion[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<XBuildToolVersion>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<XBuildToolVersion>(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