[redland-dev] C# cleanup

Edd Dumbill edd at usefulinc.com
Wed Jul 14 13:37:11 BST 2004


This patch ensures underlying nodes and statements are copied when
needed.  It also includes a lot of cleanup, and implements IDisposable
for all Redland classes that wrap unmanaged resources.

I've not got any huge applications to test it on, so if Cesar you can
test it on your use cases, that'd be great.

 % diffstat ~/csharp.diff
 ChangeLog            |   98 +++++++++++++++++++++++++++++++++++++++
 Iterator.cs          |   58 +++++++++++++++--------
 Makefile.am          |    2
 Model.cs             |   59 +++++++++++++++++------
 Node.cs              |   51 ++++++++++++++------
 Parser.cs            |   46 +++++++++++++-----
 Query.cs             |   49 +++++++++++++------
 QueryResults.cs      |  128 ++++++++++++++++++++++++++++++++-------------------
 Serializer.cs        |   39 ++++++++++++---
 Statement.cs         |   78 ++++++++++++++++++++++++-------
 Storage.cs           |   35 +++++++++++--
 Stream.cs            |   51 +++++++++++++-------
 Uri.cs               |   40 +++++++++++++--
 examples/example2.cs |    2
 14 files changed, 561 insertions(+), 175 deletions(-)

-- Edd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csharp.diff
Type: text/x-patch
Size: 37896 bytes
Desc: not available
Url : http://lists.usefulinc.com/pipermail/redland-dev/attachments/20040714/2d25619f/csharp-0001.bin


More information about the redland-dev mailing list