DotNetTestPathType Enum

Summary

Represents the path type for .NET test command.
Namespace
Cake.Common.Tools.DotNet.Test
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["DotNetTestPathType"] class Type type-node

Syntax

public enum DotNetTestPathType

Fields

Name Constant Value Summary
Auto 1
Automatically detect the path type based on the file extension.
static
None 0
No explicit path type specified (default behavior).
static
Project 2
Explicitly specify the path as a project file.
static
Solution 3
Explicitly specify the path as a solution file.
static

Extension Methods

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