public override void Execute(IncrementContext context, VersionComponent versionComponent)
        {
            var currentValue = context.GetCurrentVersionComponentValue(versionComponent);
            var newValue     = IncrementImpl(currentValue, context.BuildStartDate, context.ProjectStartDate);

            context.SetNewVersionComponentValue(versionComponent, newValue);
        }
Esempio n. 2
0
        public override void Increment(IncrementContext context, VersionComponent versionComponent)
        {
            string currentVersionComponentValue = context.GetCurrentVersionComponentValue(versionComponent);
            string value = this.Increment(currentVersionComponentValue, context.BuildStartDate, context.ProjectStartDate, context.ProjectFilename);

            context.SetNewVersionComponentValue(versionComponent, value);
        }
 public override void Increment(IncrementContext context, VersionComponent versionComponent)
 {
     string currentVersionComponentValue = context.GetCurrentVersionComponentValue(versionComponent);
     string value = this.Increment(currentVersionComponentValue, context.BuildStartDate, context.ProjectStartDate, context.ProjectFilename);
     context.SetNewVersionComponentValue(versionComponent, value);
 }