Author: fmantek
Date: Fri Sep  7 10:55:35 2007
New Revision: 242

Modified:
   trunk/clients/cs/src/extensions/simplecontainer.cs

Log:
fixed the constructor

Modified: trunk/clients/cs/src/extensions/simplecontainer.cs
==============================================================================
--- trunk/clients/cs/src/extensions/simplecontainer.cs  (original)
+++ trunk/clients/cs/src/extensions/simplecontainer.cs  Fri Sep  7 10:55:35 2007
@@ -40,16 +40,7 @@
         {
         }
 
-        /// <summary>
-        /// copy constructor, used in parsing
-        /// </summary>
-        /// <param name="original"></param>
-        protected SimpleContainer(SimpleContainer original) : 
base(original.XmlName, original.XmlPrefix, original.XmlNameSpace)
-        {
-    
-            this.ExtensionFactories = original.ExtensionFactories;
-        }
-
+       
        
         #region overloaded for persistence
 
@@ -126,7 +117,7 @@
             if (localname.Equals(this.XmlName))
             {
                 // create a new container
-                sc = new SimpleContainer(this);
+                sc = this.MemberwiseClone() as SimpleContainer;
             }
 
             if (node.HasChildNodes)
@@ -153,7 +144,7 @@
             return sc;
         }
 
-        
+         
         /// <summary>
         /// Persistence method for the EnumConstruct object
         /// </summary>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to