- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Model .Configuration - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["BranchConfig"]
class Type type-node
Syntax
public class BranchConfig
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| BranchConfig | |
| BranchConfig | Creates a clone of the given branchConfiguration. |
Properties
| Name | Value | Summary |
|---|---|---|
| Commit |
Nullable |
|
| Increment | Nullable |
|
| IsMainline | Nullable |
|
| IsReleaseBranch | Nullable |
|
| IsSourceBranchFor | HashSet |
|
| Name | string |
The name given to this configuration in the config file.
|
| PreReleaseWeight | Nullable |
|
| Prevent |
Nullable |
|
| Regex | string | |
| SourceBranches | HashSet |
|
| Tag | string |
Special value 'useBranchName' will extract the tag from the branch name
|
| TagNumberPattern | string | |
| TrackMergeTarget | Nullable |
|
| Tracks |
Nullable |
|
| VersioningMode | Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| Apply |
BranchConfig | |
| Create |
BranchConfig |
static
|
| MergeTo |
void |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| GetProperties |
IEnumerable |
From ObjectExtensions
|
| NotNull |
T |
From CommonExtensions
|