Summary
Describes the version increment operation that should be applied to a
BaseVersionOperand to produce the next version.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation - Interfaces
-
- I
Base Version Increment - IEquatable
<BaseVersionOperator>
- I
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IBaseVersionIncrement"]
click Interface0 "/api/GitVersion.VersionCalculation/IBaseVersionIncrement"
Type-.->Interface1["IEquatable<BaseVersionOperator>"]
Type["BaseVersionOperator"]
class Type type-node
Syntax
public sealed class BaseVersionOperator : IBaseVersionIncrement, IEquatable<BaseVersionOperator>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool | |
| get_ |
SemanticVersion | |
| get_ |
ICommit | |
| get_ForceIncrement |
bool | |
| get_Increment |
VersionField | |
| get_Label |
string | |
| get_Source |
string | |
| GetHashCode |
int | |
| set_ |
||
| set_ |
||
| set_ForceIncrement |
||
| set_Increment |
||
| set_Label |
||
| set_Source |
||
| ToString |
string |
Returns a human-readable description of this operator including source, increment field, label, and commit anchor.
|
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
|