Issue Details (XML | Word | Printable)

Key: LOG4NET-56
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicko Cadell
Reporter: Ron Grabowski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

Support rendering IEnumerator objects as well as ICollections

Created: 06/Nov/05 07:14 AM   Updated: 03/Mar/06 12:55 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works WriteDictionaryUsingIDictionaryEnumerator.patch 2005-11-06 07:18 AM Ron Grabowski 2 kB

Resolution Date: 03/Mar/06 12:55 AM


 Description  « Hide
Some objects that use IDictionary objects expose an IDictionaryEnumerator instead of the underlying IDictionary. HttpRuntime.Cache.GetEnumerator() is one such object.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #382413 Thu Mar 02 15:38:11 UTC 2006 nicko Fix for LOG4NET-56. Added support for rendering all IEnumerable types rather than just collections. Added spacial case for IDictionary to ensure that the enumerator returned will enumerate DisctionaryEntry objects even with .NET 2.0 generic collections.
Files Changed
MODIFY /logging/log4net/trunk/src/ObjectRenderer/DefaultRenderer.cs

Repository Revision Date User Message
ASF #382418 Thu Mar 02 15:52:58 UTC 2006 nicko Fix for LOG4NET-56. Added support for rendering IEnumerators rather than just collections.
Files Changed
MODIFY /logging/log4net/trunk/src/ObjectRenderer/DefaultRenderer.cs