Summary
Represents any Git object (branch, tag, or ref) that has a canonical reference name.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Implementing Types
graph BT
Type["INamedReference"]
class Type type-node
Implementing0["IBranch"]-.->Type
click Implementing0 "/api/GitVersion.Git/IBranch"
Implementing1["ITag"]-.->Type
click Implementing1 "/api/GitVersion.Git/ITag"
Implementing2["IReference"]-.->Type
click Implementing2 "/api/GitVersion.Git/IReference"
Syntax
public interface INamedReference
Attributes
| Type | Description |
|---|---|
| Nullable |
Properties
| Name | Value | Summary |
|---|---|---|
| Name | ReferenceName |
Gets the canonical name of this reference.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|