You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2006/03/05 13:27:07 UTC
svn commit: r383310 -
/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs
Author: gbayon
Date: Sun Mar 5 04:27:06 2006
New Revision: 383310
URL: http://svn.apache.org/viewcvs?rev=383310&view=rev
Log:
- Added fix for Castle proxy
Modified:
ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs
Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs?rev=383310&r1=383309&r2=383310&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs Sun Mar 5 04:27:06 2006
@@ -149,16 +149,18 @@
for (int i = 0; i < properties.Length; i++)
{
string name = properties[i].Name;
- _setProperties.Add(name, properties[i]);
- _setTypes.Add(name, properties[i].PropertyType);
+ //For work with Dinaproxy http://support.castleproject.org/jira//browse/DYNPROXY-8?page=all
+ _setProperties[name] = properties[i];
+ _setTypes[name] = properties[i].PropertyType;
}
properties = type.GetProperties(BINDING_FLAGS_GET);
for (int i = 0; i < properties.Length; i++)
{
string name = properties[i].Name;
- _getProperties.Add(name, properties[i]);
- _getTypes.Add(name, properties[i].PropertyType);
+ //For work with Dinaproxy http://support.castleproject.org/jira//browse/DYNPROXY-8?page=all
+ _getProperties[name] = properties[i];
+ _getTypes[name] = properties[i].PropertyType;
}
}