コード例 #1
0
 public BuildNumberCalculator(
     NextSemverCalculator nextSemverCalculator,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     IRepository gitRepo)
 {
     this.nextSemverCalculator    = nextSemverCalculator;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     this.gitRepo = gitRepo;
 }
コード例 #2
0
 public NextSemverCalculator(
     NextVersionTxtFileFinder nextVersionTxtFileFinder,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     GitVersionContext context)
 {
     this.nextVersionTxtFileFinder   = nextVersionTxtFileFinder;
     this.lastTaggedReleaseFinder    = lastTaggedReleaseFinder;
     mergedBranchesWithVersionFinder = new MergedBranchesWithVersionFinder(context);
     unknownBranchFinder             = new OtherBranchVersionFinder();
     this.context = context;
 }
コード例 #3
0
 public NextSemverCalculator(
     NextVersionTxtFileFinder nextVersionTxtFileFinder,
     LastTaggedReleaseFinder lastTaggedReleaseFinder,
     GitVersionContext context)
 {
     this.nextVersionTxtFileFinder = nextVersionTxtFileFinder;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     mergedBranchesWithVersionFinder = new MergedBranchesWithVersionFinder(context);
     unknownBranchFinder = new OtherBranchVersionFinder();
     this.context = context;
 }
コード例 #4
0
 public BuildNumberCalculator(NextSemverCalculator nextSemverCalculator, LastTaggedReleaseFinder lastTaggedReleaseFinder, IRepository gitRepo)
 {
     this.nextSemverCalculator = nextSemverCalculator;
     this.lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     this.gitRepo = gitRepo;
 }