[ 
http://issues.apache.org/jira/browse/LOG4NET-56?page=comments#action_12356867 ] 

Ron Grabowski commented on LOG4NET-56:
--------------------------------------

I think something else needs to be changed further up in the chain to allow 
these two statements to produce the same output:

 Hashtable hashTable = new Hashtable()
 hashTable["Hello"] = "World";

 // OK
 log.Debug(hashTable);

 // prints out GetType().ToString()
 log.Debug(hashTable.GetEnumerator()); // GetEnumerator returns 
IDictionaryEnumerator

> Add override for WriteDictionary that accepts IDictionaryEnumerator
> -------------------------------------------------------------------
>
>          Key: LOG4NET-56
>          URL: http://issues.apache.org/jira/browse/LOG4NET-56
>      Project: Log4net
>         Type: Improvement
>     Reporter: Ron Grabowski
>     Priority: Minor
>  Attachments: WriteDictionaryUsingIDictionaryEnumerator.patch
>
> Some objects that use IDictionary objects expose an IDictionaryEnumerator 
> instead of the underlying IDictionary. HttpRuntime.Cache.GetEnumerator() is 
> one such object.

-- 
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

Reply via email to