ComputedGitVersionAttribute Class

Summary

Injects an instance of Nuke.Common.Tools.GitVersion.GitVersion based on the local repository.
Assembly
Rocket.Surgery.Nuke.dll
Namespace
Rocket.Surgery.Nuke
Base Types
  • InjectionAttributeBase
graph BT Type-->Base0["InjectionAttributeBase"] Type["ComputedGitVersionAttribute"] class Type type-node

Syntax

public class ComputedGitVersionAttribute : InjectionAttributeBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute
UsedImplicitlyAttribute
ExcludeFromCodeCoverageAttribute

Constructors

Name Summary
ComputedGitVersionAttribute() Computes the GitVersion for the repository.
ComputedGitVersionAttribute(string) Computes the GitVersion for the repository.

Properties

Name Value Summary
DisableOnUnix bool
DisableOnUnix
UpdateAssemblyInfo bool
UpdateAssemblyInfo

Methods

Name Value Summary
GetValue(MemberInfo, object) object
HasGitVer() bool
Returns if GitVersion data is available
static

Extension Methods