Opened 14 years ago
Closed 2 years ago
#1603 closed enhancement (fixed)
System.IDisposable interface support for .net API
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 4.0 |
Component: | General | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
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
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | idisposable.patch added |
---|
comment:1 by , 2 years ago
Milestone: | → 4.0 |
---|
Check if all classes in the new .net binding implement IDisposable
comment:2 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
All .net proxy classes in the new binding implements IDispoable (direct or via its parent classes)
Patch to support System.IDisposable interface