Summary
Contextual information about where GitVersion is being run
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["GitVersionContext"]
class Type type-node
Syntax
public class GitVersionContext
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| CurrentBranch | IBranch | |
| CurrentCommit | ICommit | |
| Current |
SemanticVersion | |
| FullConfiguration | Config |
Contains the raw configuration, use Configuration for specific config based on the current GitVersion context.
|
| Is |
bool | |
| Number |
int |
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
Effective |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| GetProperties |
IEnumerable |
From ObjectExtensions
|
| NotNull |
T |
From CommonExtensions
|