Pass in parameterObject to row/map delegates --------------------------------------------
Key: IBATISNET-111 URL: http://issues.apache.org/jira/browse/IBATISNET-111 Project: iBatis for .NET Type: New Feature Reporter: Ron Grabowski Priority: Trivial Someone may want to do a comparision against the original parameter inside of a row delegate. public delegate void RowDelegate(object obj, IList list); public delegate void RowDelegateWithParameter(object obj, object parameter, IList list); public delegate void DictionaryRowDelegate(object key, object value, IDictionary dictionary); public delegate void DictionaryRowDelegateWithParameter(object key, object value, object parameter, IDictionary dictionary); Delegates with the same name cannot be overloaded: public delegate void RowDelegate(object obj, IList list); public delegate void RowDelegate(object obj, object parameter, IList list); // WRONG public delegate void DictionaryRowDelegate(object key, object value, IDictionary dictionary); public delegate void DictionaryRowDelegate(object key, object value, object parameter, IDictionary dictionary); // WRONG Perhaps we should change the signature of the delegates to always include the parameter object: public delegate void RowDelegate(object obj, object parameter, IList list); public delegate void DictionaryRowDelegate(object key, object value, object parameter, IDictionary dictionary); Thanks to Chad Humphries for starting my thought process on this! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira