2008-11-01 Marek Habersack <mhabersack@novell.com>
[mono.git] / mcs / class / System.Web.Extensions / System.Web.UI.WebControls / LinqDataSourceInsertEventArgs.cs
index c7967468ff8bf3be5108eb0d165d281b805d6ebb..f2b14dccf6684567dc4449c8c38d0a782031b224 100644 (file)
@@ -42,23 +42,18 @@ namespace System.Web.UI.WebControls
        {
                public LinqDataSourceInsertEventArgs (object newObject)
                {
-                       if (newObject == null)
-                               throw new ArgumentNullException ("newObject");
                        NewObject = newObject;
                }
 
                public LinqDataSourceInsertEventArgs (LinqDataSourceValidationException exception)
                {
-                       if (exception == null)
-                               throw new ArgumentNullException ("exception");
                        Exception = exception;
                }
 
-               [MonoTODO]
                public LinqDataSourceValidationException Exception { get; private set; }
-               [MonoTODO]
+
                public bool ExceptionHandled { get; set; }
-               [MonoTODO]
+
                public object NewObject { get; private set; }
        }
 }