logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Grabowski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LOG4NET-56) Add override for WriteDictionary that accepts IDictionaryEnumerator
Date Sat, 05 Nov 2005 23:20:20 GMT
    [ 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


Mime
View raw message