AutoMergeSettings Class

Summary

Auto Merge TFS settings
Assembly
Cake.Tfs.AutoMerge.dll
Namespace
Cake.Tfs.AutoMerge
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AutoMergeSettings"] class Type type-node

Syntax

public class AutoMergeSettings

Constructors

Name Summary
AutoMergeSettings() Creates default settings instance

Properties

Name Value Summary
AutoApprove bool
Pull Request auto approve after creation.
AutoComplete bool
Pull Request auto complete after creation.
CollectionUri Uri
TFS Collection url.
DeleteSourceBranch bool
Pull Request delete source branch after merge.
Description string
Pull Request description.
OverridePolicies bool
Pull Request override existing policies.
ProjectName string
TFS Project name.
RepositoryName string
TFS Repository name.
Reviewers ICollection<AutoMergeReviewer>
Pull Request reviewers.
SourceBranch string
Pull Request source branch.
SquashMerge bool
Pull Request uses Squash merge strategy.
TargetBranch string
Pull Request target branch.
Title string
Pull Request title.

Extension Methods

Name Value Summary
Dump<AutoMergeSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AutoMergeSettings>(AutoMergeSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AutoMergeSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<AutoMergeSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<AutoMergeSettings>(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<AutoMergeSettings>(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