C# Class VersioningTasks.GetBuildVersion

Inheritance: Microsoft.Build.Utilities.Task
Show file Open project: AArnott/Microsoft.WindowsAzure.StorageClient.Async

Private Properties

Property Type Description
CalculateJDate int
GetGitHeadCommitId string
ReadVersionFromFile void
VerifyValidPrereleaseVersion void

Public Methods

Method Description
Execute ( ) : bool
GetBuildVersion ( ) : System

Initializes a new instance of the GetBuildVersion class.

Private Methods

Method Description
CalculateJDate ( System.DateTime date ) : int
GetGitHeadCommitId ( ) : string
ReadVersionFromFile ( System.Version &typedVersion, string &prereleaseVersion ) : void
VerifyValidPrereleaseVersion ( string prerelease ) : void

Method Details

Execute() public method

public Execute ( ) : bool
return bool

GetBuildVersion() public method

Initializes a new instance of the GetBuildVersion class.
public GetBuildVersion ( ) : System
return System