[mapguide-trac] #1603: System.IDisposable interface support for .net API

MapGuide Open Source trac_mapguide at osgeo.org
Wed Feb 16 08:08:30 EST 2011


#1603: System.IDisposable interface support for .net API
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:     
       Type:  enhancement  |      Status:  new
   Priority:  low          |   Milestone:     
  Component:  General      |     Version:     
   Severity:  trivial      |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------
 Attached is a patch that modifies the .net SWIG recipe file so that
 generated .net classes are partial

 With partial classes, we can then perform augmentations on certain
 classes, and the changes will not be lost each time we regenerate the .net
 API.

 In this patch, the MgDisposable proxy class has been augmented to
 implement the System.IDisposable interface, thereby allowing any
 MgDisposable derived classes to be used within a using block

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1603>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list