Author: mhutch
Date: 2008-01-02 18:08:52 -0500 (Wed, 02 Jan 2008)
New Revision: 92137

Modified:
   trunk/monodevelop/main/src/addins/AspNetAddIn/ChangeLog
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehind.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehindNonPartial.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehind.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehindNonPartial.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehind.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehindNonPartial.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-CodeBehind.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-Empty.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-CodeBehind.xft.xml
   
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-Empty.xft.xml
Log:
* Templates/WebService-CodeBehind.xft.xml,
  Templates/WebForm-CodeBehind.xft.xml,
  Templates/WebControl-CodeBehindNonPartial.xft.xml,
  Templates/WebService-Empty.xft.xml,
  Templates/WebHandler-CodeBehind.xft.xml,
  Templates/WebControl-CodeBehind.xft.xml,
  Templates/MasterPage-CodeBehindNonPartial.xft.xml,
  Templates/WebHandler-Empty.xft.xml,
  Templates/MasterPage-CodeBehind.xft.xml,
  Templates/WebForm-CodeBehindNonPartial.xft.xml: Use
  ${EscapedIdentifier} instead of ${Name} so that files can be
  created with names like "Default" and work correctly in VB.NET.

Modified: trunk/monodevelop/main/src/addins/AspNetAddIn/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/addins/AspNetAddIn/ChangeLog     2008-01-02 
22:50:50 UTC (rev 92136)
+++ trunk/monodevelop/main/src/addins/AspNetAddIn/ChangeLog     2008-01-02 
23:08:52 UTC (rev 92137)
@@ -1,3 +1,18 @@
+2008-01-02  Michael Hutchinson <[EMAIL PROTECTED]> 
+
+       * Templates/WebService-CodeBehind.xft.xml,
+         Templates/WebForm-CodeBehind.xft.xml,
+         Templates/WebControl-CodeBehindNonPartial.xft.xml,
+         Templates/WebService-Empty.xft.xml,
+         Templates/WebHandler-CodeBehind.xft.xml,
+         Templates/WebControl-CodeBehind.xft.xml,
+         Templates/MasterPage-CodeBehindNonPartial.xft.xml,
+         Templates/WebHandler-Empty.xft.xml,
+         Templates/MasterPage-CodeBehind.xft.xml,
+         Templates/WebForm-CodeBehindNonPartial.xft.xml: Use 
${EscapedIdentifier}
+         instead of ${Name} so that files can be created with names like
+         "Default" and work correctly in VB.NET.
+
 2007-12-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * AspNetAddIn.mdp: Updated project files. The order of extended 
properties

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehind.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehind.xft.xml
       2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehind.xft.xml
       2008-01-02 23:08:52 UTC (rev 92137)
@@ -44,7 +44,7 @@
 using System.Web;
 using System.Web.UI;
 namespace ${Namespace} {
-       public partial class ${Name} : System.Web.UI.MasterPage 
+       public partial class ${EscapedIdentifier} : System.Web.UI.MasterPage 
        {
        }
 }
@@ -55,7 +55,7 @@
 using System.Web;
 using System.Web.UI;
 namespace ${Namespace} {
-       public partial class ${Name} 
+       public partial class ${EscapedIdentifier} 
        {
        }
 }

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehindNonPartial.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehindNonPartial.xft.xml
     2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/MasterPage-CodeBehindNonPartial.xft.xml
     2008-01-02 23:08:52 UTC (rev 92137)
@@ -44,7 +44,7 @@
 using System.Web;
 using System.Web.UI;
 namespace ${Namespace} {
-       public class ${Name} : System.Web.UI.MasterPage 
+       public class ${EscapedIdentifier} : System.Web.UI.MasterPage 
        {
        }
 }

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehind.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehind.xft.xml
       2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehind.xft.xml
       2008-01-02 23:08:52 UTC (rev 92137)
@@ -32,7 +32,7 @@
 
 namespace ${Namespace} {
 
-       public partial class ${Name} : System.Web.UI.UserControl
+       public partial class ${EscapedIdentifier} : System.Web.UI.UserControl
        {
        }
 }]]>
@@ -44,7 +44,7 @@
 
 namespace ${Namespace} {
 
-       public partial class ${Name}
+       public partial class ${EscapedIdentifier}
        {
        }
 }]]>

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehindNonPartial.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehindNonPartial.xft.xml
     2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebControl-CodeBehindNonPartial.xft.xml
     2008-01-02 23:08:52 UTC (rev 92137)
@@ -32,7 +32,7 @@
 
 namespace ${Namespace} {
 
-       public partial class ${Name} : System.Web.UI.UserControl
+       public partial class ${EscapedIdentifier} : System.Web.UI.UserControl
        {
        }
 }]]>

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehind.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehind.xft.xml
  2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehind.xft.xml
  2008-01-02 23:08:52 UTC (rev 92137)
@@ -42,7 +42,7 @@
 
 namespace ${Namespace} {
        
-       public partial class ${Name} : System.Web.UI.Page
+       public partial class ${EscapedIdentifier} : System.Web.UI.Page
        {
                
        }
@@ -55,7 +55,7 @@
 
 namespace ${Namespace} {
        
-       public partial class ${Name}
+       public partial class ${EscapedIdentifier}
        {
                
        }

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehindNonPartial.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehindNonPartial.xft.xml
        2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebForm-CodeBehindNonPartial.xft.xml
        2008-01-02 23:08:52 UTC (rev 92137)
@@ -42,7 +42,7 @@
 
 namespace ${Namespace} {
        
-       public class ${Name} : System.Web.UI.Page
+       public class ${EscapedIdentifier} : System.Web.UI.Page
        {
                
        }

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-CodeBehind.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-CodeBehind.xft.xml
       2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-CodeBehind.xft.xml
       2008-01-02 23:08:52 UTC (rev 92137)
@@ -29,7 +29,7 @@
 namespace ${Namespace}
 {      
        
-       public class ${Name} : System.Web.IHttpHandler
+       public class ${EscapedIdentifier} : System.Web.IHttpHandler
        {
        
                public void ProcessRequest (HttpContext context)

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-Empty.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-Empty.xft.xml
    2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebHandler-Empty.xft.xml
    2008-01-02 23:08:52 UTC (rev 92137)
@@ -27,7 +27,7 @@
 namespace ${Namespace}
 {
 
-       public class ${Name} : System.Web.IHttpHandler
+       public class ${EscapedIdentifier} : System.Web.IHttpHandler
        {
        
                public void ProcessRequest (HttpContext context)

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-CodeBehind.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-CodeBehind.xft.xml
       2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-CodeBehind.xft.xml
       2008-01-02 23:08:52 UTC (rev 92137)
@@ -28,7 +28,7 @@
 
 namespace ${Namespace}
 {
-       public class ${Name} : System.Web.Services.WebService
+       public class ${EscapedIdentifier} : System.Web.Services.WebService
        {
                
        }

Modified: 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-Empty.xft.xml
===================================================================
--- 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-Empty.xft.xml
    2008-01-02 22:50:50 UTC (rev 92136)
+++ 
trunk/monodevelop/main/src/addins/AspNetAddIn/Templates/WebService-Empty.xft.xml
    2008-01-02 23:08:52 UTC (rev 92137)
@@ -27,7 +27,7 @@
 
 namespace ${Namespace}
 {
-       class ${Name}
+       class ${EscapedIdentifier}
        {
        }
 }]]>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to