Merge pull request #4621 from alexanderkyte/strdup_env
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / FormViewInsertEventArgs.cs
index 57dee71f2e290c6fc3220e857a6a83b37e2ef45e..c189c852341208dee3ffcaf61ce678eb39269888 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //   Sanjay Gupta (gsanjay@novell.com)
 //
-// (C) 2004 Novell, Inc (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc (http://www.novell.com)
 //
 
 //
@@ -28,8 +28,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System.Collections.Specialized;
 using System.ComponentModel;
 
@@ -37,10 +35,17 @@ namespace System.Web.UI.WebControls
 {
        public class FormViewInsertEventArgs : CancelEventArgs
        {
-               private object argument;
+               object argument;
+               IOrderedDictionary values;
+               
+               public FormViewInsertEventArgs (object commandArgument)
+               {
+                       this.argument = commandArgument;
+               }
                
-               public FormViewInsertEventArgs (object argument)
+               internal FormViewInsertEventArgs (object argument, IOrderedDictionary values)
                {
+                       this.values = values;
                        this.argument = argument;
                }
                
@@ -49,9 +54,8 @@ namespace System.Web.UI.WebControls
                }
 
                public IOrderedDictionary Values {
-                       get { throw new NotImplementedException(); }
+                       get { return values; }
                }
        }
 }
 
-#endif