Commits

Mark Heath committed 966eec4

refactoring

Comments (0)

Files changed (1)

SetVersionTask/CSharpUpdater.cs

 {
     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);
             }
         }