Summary
Represents the discovered base version — the semantic version value and the commit it was found at.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation - Interfaces
-
- I
Base Version Increment - IEquatable
<BaseVersionOperand>
- I
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IBaseVersionIncrement"]
click Interface0 "/api/GitVersion.VersionCalculation/IBaseVersionIncrement"
Type-.->Interface1["IEquatable<BaseVersionOperand>"]
Type["BaseVersionOperand"]
class Type type-node
Syntax
public sealed class BaseVersionOperand : IBaseVersionIncrement, IEquatable<BaseVersionOperand>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| BaseVersionOperand | Initializes an empty operand. |
| BaseVersionOperand | Represents the discovered base version — the semantic version value and the commit it was found at. |
Methods
| Name | Value | Summary |
|---|---|---|
| Deconstruct |
void | |
| Equals |
bool | |
| Equals |
bool | |
| get_ |
ICommit | |
| get_SemanticVersion |
SemanticVersion | |
| get_Source |
string | |
| GetHashCode |
int | |
| set_ |
||
| set_SemanticVersion |
||
| set_Source |
||
| ToString |
string |
Returns a human-readable description of this operand including its source and version.
|
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
|