Summary
A commit, together with the branch to which the commit belongs.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Interfaces
-
- IEquatable
<Nullable <BranchCommit> >
- IEquatable
- Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type-.->Interface0["IEquatable<Nullable<BranchCommit>>"]
Type["BranchCommit"]
class Type type-node
Syntax
public sealed class BranchCommit : ValueType, IEquatable<Nullable<BranchCommit>>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute | |
| IsReadOnlyAttribute | |
| Debugger |
Constructors
| Name | Summary |
|---|---|
| BranchCommit | A commit, together with the branch to which the commit belongs. |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Empty |
Represents an absent or unresolved branch/commit pair.
static
|
Properties
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool |
Returns
true when other refers to the same branch and commit. |
| Equals |
bool | |
| GetHashCode |
int |
Returns a hash code computed from the branch and commit.
|
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
|