[commit] r1318 - trunk/SDK/DotNet/CSharpComponentWizard

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon May 16 15:19:22 CDT 2011


Author: ksmyth
Date: Mon May 16 15:19:22 2011
New Revision: 1318

Log:
Name interpter class XXXInterpreter, so it doesnt get confused with the namespace

Modified:
   trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs

Modified: trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs	Mon May 16 15:18:35 2011	(r1317)
+++ trunk/SDK/DotNet/CSharpComponentWizard/SolutionGenerator.cs	Mon May 16 15:19:22 2011	(r1318)
@@ -232,6 +232,7 @@
                 string ContentString = ComponentConfigReadStream.ReadToEnd();
                 ComponentConfigReadStream.Close();
 
+                ContentString = ContentString.Replace("MyAddon : IMgaComponentEx", SolutionName + "Addon : IMgaComponentEx");
                 ContentString = ContentString.Replace("MyAddon", SolutionName);
 
                 StreamWriter ComponentConfigWriteStream = new StreamWriter(Path.Combine(outputfolder, "MyAddon.cs"));
@@ -263,6 +264,7 @@
                 string ContentString = FileReadStream.ReadToEnd();
                 FileReadStream.Close();
 
+                ContentString = ContentString.Replace("MyInterpreter : IMgaComponentEx", SolutionName + "Interpreter : IMgaComponentEx");
                 ContentString = ContentString.Replace("MyInterpreter", SolutionName);
                 ContentString = SolutionGenerator.AddEntryPointCode(ContentString);
 


More information about the gme-commit mailing list