1. Mark Heath
  2. SetVersionTask

Commits

Mark Heath  committed 966eec4

refactoring

  • Participants
  • Parent commits 85be1b7
  • Branches default

Comments (0)

Files changed (1)

File SetVersionTask/CSharpUpdater.cs

View file
 {
     public class CSharpUpdater
     {
-        private VersionUpdateRule assemblyVersion;
+        private VersionUpdateRule assemblyVersionUpdateRule;
 
-        public CSharpUpdater(VersionUpdateRule assemblyVersion)
+        public CSharpUpdater(VersionUpdateRule assemblyVersionUpdateRule)
         {
-            this.assemblyVersion = assemblyVersion;
+            this.assemblyVersionUpdateRule = assemblyVersionUpdateRule;
         }
 
         public void UpdateFile(string fileName)
             }
             else
             {
-                string newVersion = assemblyVersion.Update(v);
+                string newVersion = assemblyVersionUpdateRule.Update(v);
                 return line.Substring(0, g.Index) + newVersion + line.Substring(g.Index + g.Length);
             }
         }