コード例 #1
0
		public BuildSolutionStep(BuildAndRevision buildAndRevision, SolutionSystemInfo solutionSystemInfo, NugetPackageResultCollection nugetPackageResultCollection)
		{
			this.buildAndRevision = buildAndRevision;

			this.solutionSystemInfo = solutionSystemInfo;

			this.nugetPackageResultCollection = nugetPackageResultCollection;
		}
コード例 #2
0
		public RetrievePreviousVersionsStep(
			SolutionSystemInfo solutionSystemInfo,
			IEnumerable<string> packagesId,
			BuildAndRevision buildAndRevision)
		{
			this.solutionSystemInfo = solutionSystemInfo;
			this.packagesId = packagesId;
			this.buildAndRevision = buildAndRevision;
		}
コード例 #3
0
		public UpdatePackagesStep(
			SolutionSystemInfo solutionSystemInfo,
			BuildAndRevision buildAndRevision,
			IEnumerable<PackageWithFramework> packages,
			IReadOnlyDictionary<string, string> previousVersions)
		{
			this.solutionSystemInfo = solutionSystemInfo;
			this.buildAndRevision = buildAndRevision;
			this.packages = packages;
			this.previousVersions = previousVersions;
		}
コード例 #4
0
		public void IncrementAssemblyInfo(BuildAndRevision buildAndRevision)
		{
			var newVersion = new Version(Version).Increment(buildAndRevision).ToString();

			foreach (var frameworkPackage in FrameworkPackages)
			{
				frameworkPackage.IncrementAssemblyInfo(newVersion);
			}

			Version = newVersion;
		}
コード例 #5
0
		public UpdateNuspecAndAssemblyInfoStep(
			BuildAndRevision buildAndRevision,
			SolutionSystemInfo solutionSystemInfo,
			IEnumerable<string> packagesId,
			IReadOnlyDictionary<string, string> previousVersions)
		{
			this.solutionSystemInfo = solutionSystemInfo;
			this.buildAndRevision = buildAndRevision;
			this.packagesId = packagesId;
			this.previousVersions = previousVersions;
		}
コード例 #6
0
		public CollectPackagesFromSolutionStep(
			BuildAndRevision buildAndRevision,
			SolutionSystemInfo solutionSystemInfo,
			IEnumerable<string> packagesId,
			IReadOnlyDictionary<string, string> previousVersions)
		{
			this.solutionSystemInfo = solutionSystemInfo;
			this.packagesId = packagesId;
			this.buildAndRevision = buildAndRevision;
			this.previousVersions = previousVersions;
		}
コード例 #7
0
ファイル: VersionHelper.cs プロジェクト: matteomigliore/HSDK
		public static Version Increment(int major, int minor, BuildAndRevision buildAndRevision)
		{
			return new Version(major, minor, (int)buildAndRevision.Build, (int)buildAndRevision.Revision);
		}
コード例 #8
0
ファイル: VersionHelper.cs プロジェクト: matteomigliore/HSDK
		public static Version Increment(this Version version, BuildAndRevision buildAndRevision)
		{
			return Increment(version.Major, version.Minor, buildAndRevision);
		}