AzurePipelinesRepositoryType Enum

Summary

Provides the known values for the Azure Pipelines Repository types.
Namespace
Cake.Common.Build.AzurePipelines.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["AzurePipelinesRepositoryType"] class Type type-node

Syntax

public enum AzurePipelinesRepositoryType

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