Summary
Contextual information about where GitVersion is being run
- Namespace
- GitVersion
- Base Types
-
- object
graph BT Type-->Base0["object"] Type["GitVersionContext"]
class Type type-node
Syntax
public class GitVersionContext
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
|