Summary
GitVersion.
Implements the
System.IEquatable`1
- Assembly
- Rocket
.Surgery .Build .Information .dll - Namespace
- Rocket
.Surgery .Build .Information - Interfaces
-
- IEquatable
<GitVersion>
- IEquatable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IEquatable<GitVersion>"]
Type["GitVersion"]
class Type type-node
Syntax
public sealed class GitVersion : IEquatable<GitVersion>
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Properties
Name | Value | Summary |
---|---|---|
AssemblySemVer | string |
Gets the assembly sem ver.
|
BranchName | string |
Gets the name of the branch.
|
BuildMetaData | string |
Gets the build meta data.
|
BuildMetaDataPadded | string |
Gets the build meta data padded.
|
CommitDate | string |
Gets the commit date.
|
Commits |
int |
Gets the commits since version source.
|
Commits |
string |
Gets the commits since version source padded.
|
FullBuildMetaData | string |
Gets the full build meta data.
|
FullSemVer | string |
Gets the full sem ver.
|
HasVersion | bool |
Does this assembly has any of these attributes?
|
InformationalVersion | string |
Gets the informational version.
|
LegacySemVer | string |
Gets the legacy sem ver.
|
LegacySemVerPadded | string |
Gets the legacy sem ver padded.
|
Major | int |
Gets the major.
|
MajorMinorPatch | string |
Gets the major minor patch.
|
Minor | int |
Gets the minor.
|
NuGetVersion | string |
Gets the nu get version.
|
NuGetVersionV2 | string |
Gets the nu get version v2.
|
Patch | int |
Gets the patch.
|
PreReleaseTag | string |
Gets the pre release tag.
|
Pre |
string |
Gets the pre release tag with dash.
|
RepositoryUrl | string |
Gets the repository url.
|
SemVer | string |
Gets the sem ver.
|
Sha | string |
Gets the sha.
|
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool |
Indicates whether the current object is equal to another object of the same type.
|
Equals |
bool |
Determines whether the specified
object is equal to this instance.
|
For |
GitVersion |
Fors the specified assembly.
static
|
For |
IDictionary |
Fors the specified assemblies.
static
|
For |
IDictionary |
Fors the specified assemblies.
static
|
For |
IDictionary |
Fors the specified types.
static
|
For |
IDictionary |
Fors the specified type infos.
static
|
For |
GitVersion |
Fors the specified type.
static
|
For |
IDictionary |
Fors the specified types.
static
|
For |
GitVersion |
Fors the specified type information.
static
|
For |
IDictionary |
Fors the specified type infos.
static
|
GetHashCode |
int |
Returns a hash code for this instance.
|
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
See Also
- System.IEquatable`1