Return-Path: Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: (qmail 67316 invoked from network); 5 Nov 2005 23:20:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Nov 2005 23:20:42 -0000 Received: (qmail 80056 invoked by uid 500); 5 Nov 2005 23:20:42 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 80007 invoked by uid 500); 5 Nov 2005 23:20:41 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 79996 invoked by uid 99); 5 Nov 2005 23:20:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2005 15:20:41 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4065C5C2 for ; Sun, 6 Nov 2005 00:20:20 +0100 (CET) Message-ID: <704676048.1131232820261.JavaMail.jira@ajax.apache.org> Date: Sun, 6 Nov 2005 00:20:20 +0100 (CET) From: "Ron Grabowski (JIRA)" To: log4net-dev@logging.apache.org Subject: [jira] Commented: (LOG4NET-56) Add override for WriteDictionary that accepts IDictionaryEnumerator In-Reply-To: <544144105.1131228979953.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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