User: henry
Date: 2009/11/26 09:15 AM

Modified:
 /Components/Binder/trunk/src/Castle.Components.Binder.Tests/
  AssemblyInfo.cs, DataBinderSingleValueTestCase.cs
 /Components/Binder/trunk/src/Castle.Components.Binder/
  AssemblyInfo.cs, DataBinder.cs

Log:
 Applied the path for the COMP-ISSUE-110 sent by Patrick McEvoy

File Changes:

Directory: /Components/Binder/trunk/src/Castle.Components.Binder/
=================================================================

File [modified]: AssemblyInfo.cs
Delta lines: +1 -9
===================================================================

--- Components/Binder/trunk/src/Castle.Components.Binder/DataBinder.cs  
2009-11-26 12:22:59 UTC (rev 6357)
+++ Components/Binder/trunk/src/Castle.Components.Binder/DataBinder.cs  
2009-11-26 16:15:44 UTC (rev 6358)
@@ -89,12 +89,10 @@
                        {
                                TrySpecialDateTimeBinding(desiredType, 
treeRoot, paramName, out canConvert);
                        }
-#if !MONO
                        else if (desiredType == typeof(DateTimeOffset))
                        {
                                TrySpecialDateTimeOffsetBinding(desiredType, 
treeRoot, paramName, out canConvert);
                        }
-#endif
                        else
                        {
                                canConvert = false;
@@ -668,12 +666,10 @@
                                return TrySpecialDateTimeBinding(desiredType, 
parent, key, out conversionSucceeded);
                        }
 
-#if !MONO
                        if (childNode == null && 
IsDateTimeOffsetType(desiredType))
                        {
                                return 
TrySpecialDateTimeOffsetBinding(desiredType, parent, key, out 
conversionSucceeded);
                        }
-#endif
 
                        if (childNode == null)
                        {
@@ -898,7 +894,7 @@
                        {
                                conversionSucceeded = true;
 
-                               DateTime dt = DateTime.Parse(dateUtc);
+                               //DateTime dt = DateTime.Parse(dateUtc);
 
                                if (desiredType.Name == "NullableDateTime")
                                {
@@ -916,7 +912,6 @@
                        return null;
                }
 
-#if !MONO
                private object TrySpecialDateTimeOffsetBinding(Type 
desiredType, CompositeNode treeRoot,
                                                                                
                                                                                
                 String paramName, out bool conversionSucceeded)
                {
@@ -940,7 +935,6 @@
                        conversionSucceeded = false;
                        return null;
                }
-#endif
 
                private object RelaxedConvertLeafNode(Type desiredType, Node 
node, object defaultValue)
                {
@@ -981,7 +975,6 @@
                        return false;
                }
 
-#if !MONO
                private bool IsDateTimeOffsetType(Type desiredType)
                {
                        if (desiredType == typeof(DateTimeOffset))
@@ -1001,7 +994,6 @@
 
                        return false;
                }
-#endif
 
                #region Support methods

File [modified]: DataBinder.cs
Delta lines: +5 -5
===================================================================

--- Components/Binder/trunk/src/Castle.Components.Binder.Tests/AssemblyInfo.cs  
2009-11-26 12:22:59 UTC (rev 6357)
+++ Components/Binder/trunk/src/Castle.Components.Binder.Tests/AssemblyInfo.cs  
2009-11-26 16:15:44 UTC (rev 6358)
@@ -6,7 +6,7 @@
 
//------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:2.0.50727.3603
+//     Runtime Version:2.0.50727.4200
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
@@ -15,13 +15,13 @@
 
 [assembly: CLSCompliantAttribute(true)]
 [assembly: ComVisibleAttribute(false)]
-[assembly: AssemblyTitleAttribute("Castle.Components.Binder.Tests for Mono 3.5 
Profile")]
-[assembly: AssemblyDescriptionAttribute("")]
+[assembly: AssemblyTitleAttribute("Castle.Components.Binder.Tests for 
Microsoft .NET Framework 3.5")]
+[assembly: AssemblyDescriptionAttribute("The Unit Tests for 
Castle.Components.Binder")]
 [assembly: AssemblyCompanyAttribute("Castle Project")]
 [assembly: AssemblyProductAttribute("Castle.Components.Binder.Tests")]
 [assembly: AssemblyCopyrightAttribute("Castle Project, original author or 
authors")]
 [assembly: AssemblyVersionAttribute("1.1.0.0")]
-[assembly: AssemblyInformationalVersionAttribute("1.1.0.6248")]
-[assembly: AssemblyFileVersionAttribute("1.1.0.6248")]
+[assembly: AssemblyInformationalVersionAttribute("1.1.0.0")]
+[assembly: AssemblyFileVersionAttribute("1.1.0.0")]
 [assembly: AssemblyDelaySignAttribute(false)]

Directory: /Components/Binder/trunk/src/Castle.Components.Binder.Tests/
=======================================================================

File [modified]: AssemblyInfo.cs
Delta lines: +0 -2
===================================================================

--- 
Components/Binder/trunk/src/Castle.Components.Binder.Tests/DataBinderSingleValueTestCase.cs
 2009-11-26 12:22:59 UTC (rev 6357)
+++ 
Components/Binder/trunk/src/Castle.Components.Binder.Tests/DataBinderSingleValueTestCase.cs
 2009-11-26 16:15:44 UTC (rev 6358)
@@ -155,7 +155,6 @@
                                                                                
        binder.BindParameter(typeof(DateTime[]), "name", node));
                }
 
-#if !MONO
                /// <summary>
                /// Tests dates passed as 'paramname'day, 'paramname'month, 
'paramname'year
                /// </summary>
@@ -222,7 +221,6 @@
                                                                                
        binder.BindParameter(typeof(DateTimeOffset[]), "name", node));
                }
 
-#endif
 
                /// <summary>

File [modified]: DataBinderSingleValueTestCase.cs
Delta lines: +0 -0
===================================================================

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Commits" 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/castle-project-commits?hl=en.


Reply via email to