[commit] r1163 - in trunk/SDK/DotNet/CSharpComponentWizard/Templates: CSharpAddon CSharpInterpreter

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Feb 9 14:34:26 CST 2011


Author: ksmyth
Date: Wed Feb  9 14:34:26 2011
New Revision: 1163

Log:
Use Unicode Encoding, need to make CreateFromProject static

Replaced:
   trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpAddon/GMEConsole.cs
      - copied, changed from r1159, trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs
Modified:
   trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs

Copied and modified: trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpAddon/GMEConsole.cs (from r1159, trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs)
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs	Wed Feb  9 14:19:42 2011	(r1159, copy source)
+++ trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpAddon/GMEConsole.cs	Wed Feb  9 14:34:26 2011	(r1163)
@@ -87,7 +87,7 @@
         }
 
 
-        public GMEConsole CreateFromProject(MGALib.MgaProject project)
+        public static GMEConsole CreateFromProject(MGALib.MgaProject project)
         {
             GMEConsole console = new GMEConsole();
             try
@@ -122,8 +122,7 @@
 
         override public Encoding Encoding
         {
-            get { return Encoding.ASCII; }
-
+            get { return Encoding.Unicode; }
         }
 
         override public void WriteLine(string str)

Modified: trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs	Wed Feb  9 14:28:13 2011	(r1162)
+++ trunk/SDK/DotNet/CSharpComponentWizard/Templates/CSharpInterpreter/GMEConsole.cs	Wed Feb  9 14:34:26 2011	(r1163)
@@ -87,7 +87,7 @@
         }
 
 
-        public GMEConsole CreateFromProject(MGALib.MgaProject project)
+        public static GMEConsole CreateFromProject(MGALib.MgaProject project)
         {
             GMEConsole console = new GMEConsole();
             try
@@ -122,8 +122,7 @@
 
         override public Encoding Encoding
         {
-            get { return Encoding.ASCII; }
-
+            get { return Encoding.Unicode; }
         }
 
         override public void WriteLine(string str)


More information about the gme-commit mailing list