Summary
Represents a version increment selected from a commit message and whether prior increments must be reset.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation - Interfaces
-
- IEquatable
<Commit Message >Increment
- IEquatable
- Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type-.->Interface0["IEquatable<CommitMessageIncrement>"]
Type["CommitMessageIncrement"]
class Type type-node
Syntax
public sealed class CommitMessageIncrement : ValueType, IEquatable<CommitMessageIncrement>
Attributes
| Type | Description |
|---|---|
| IsReadOnlyAttribute |
Constructors
| Name | Summary |
|---|---|
| Commit | Represents a version increment selected from a commit message and whether prior increments must be reset. |
Methods
| Name | Value | Summary |
|---|---|---|
| Consolidate |
Commit |
Combines this commit-message increment with another increment.
|
| Deconstruct |
void | |
| Equals |
bool | |
| Equals |
bool | |
| get_Increment |
VersionField | |
| get_ |
bool | |
| GetHashCode |
int | |
| set_Increment |
||
| set_ |
||
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator == |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|