Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 12662 invoked from network); 10 Nov 2009 20:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 20:18:18 -0000 Received: (qmail 2945 invoked by uid 500); 10 Nov 2009 20:18:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 2866 invoked by uid 500); 10 Nov 2009 20:18:17 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 2837 invoked by uid 99); 10 Nov 2009 20:18:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 20:18:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 20:18:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D0C8C234C4A8 for ; Tue, 10 Nov 2009 12:17:52 -0800 (PST) Message-ID: <1026221110.1257884272852.JavaMail.jira@brutus> Date: Tue, 10 Nov 2009 12:17:52 -0800 (PST) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQNET-209) Add extension methods to improve the readability of the SessionUtils and XmlUtils functions. In-Reply-To: <661828982.1257879352761.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes resolved AMQNET-209. ------------------------------ Resolution: Fixed > Add extension methods to improve the readability of the SessionUtils and XmlUtils functions. > -------------------------------------------------------------------------------------------- > > Key: AMQNET-209 > URL: https://issues.apache.org/activemq/browse/AMQNET-209 > Project: ActiveMQ .Net > Issue Type: Improvement > Components: NMS > Affects Versions: 1.1.0 > Environment: .NET 3.5, MONO > Reporter: Jim Gomes > Assignee: Jim Gomes > Priority: Minor > Fix For: 1.2.0 > > Original Estimate: 3 hours > Remaining Estimate: 3 hours > > .NET 3.5 and MONO support extension methods. Extension methods, if used carefully, can seamlessly extend the API in a type-safe way. There are several utility functions that are prime candidates for this type of re-factoring. The readability gains in the client code are quite significant. Any extension methods will need to be isolated with > {{#ifdef NET_3_5 || MONO}} > since this is a new feature for the .NET platform. > See the following link for more information on extension methods: > http://msdn.microsoft.com/en-us/library/bb383977.aspx -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.