public Dictionary <string, string> ToDictionary() { return(new Dictionary <string, string>() { { "number", MajorMinorPatch.ToString() }, { "prerelease", Prerelease }, { "build", Build } }); }
private string RetrieveVersion() { string features = Features.ToString(); return(string.Format( CultureInfo.InvariantCulture, "{0}-{1}-{2} ({3} - {4})", MajorMinorPatch.ToString(3), LibGit2SharpCommitSha, LibGit2CommitSha, NativeMethods.ProcessorArchitecture, features)); }