GitVersionOutput Enum

Summary

The Git version output type.
Namespace
Cake.Common.Tools.GitVersion
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["GitVersionOutput"] class Type type-node

Syntax

public enum GitVersionOutput

Fields

Name Constant Value Summary
BuildServer 1
Outputs to the stdout in a way usable by a detected build server.
static
Json 0
Outputs to the stdout using json.
static

Extension Methods

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