VSTestFrameworkVersion Enum

Summary

Target .NET Framework version to be used for test execution.
Namespace
Cake.Common.Tools.VSTest
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["VSTestFrameworkVersion"] class Type type-node

Syntax

public enum VSTestFrameworkVersion

Fields

Name Constant Value Summary
Default 0
Use default .NET Framework version.
static
NET35 1
.NET Framework version: 3.5.
static
NET40 2
.NET Framework version: 4.0.
static
NET45 3
.NET Framework version: 4.5.
static

Extension Methods

Name Value Summary
Dump<VSTestFrameworkVersion>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VSTestFrameworkVersion>(VSTestFrameworkVersion[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<VSTestFrameworkVersion>(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<VSTestFrameworkVersion>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin