TFRepositoryType Enum

Summary

Provides the known values for the TF Build Repository types.
Namespace
Cake.Common.Build.TFBuild.Data
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["TFRepositoryType"] class Type type-node

Syntax

public enum TFRepositoryType

Fields

Name Constant Value Summary
Git 2
Git repository hosted on an external server.
static
GitHub 3
GitHub repository.
static
Svn 4
Subversion repository.
static
TfsGit 0
TFS Git repository.
static
TfsVersionControl 1
Team Foundation Version Control repository.
static

Extension Methods

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