KPixel wrote:
As you said some unit tests and example applications would be useful.
Can you also write a "readme.txt" ? (or a full documentation if you can ;) )
I will just as soon as I can (a few days and I'll be done, I think).
One more feature that this library provides that I forgot to mention: It simplifies the scenario where you have a one-to-many parent-child relationship, where parents point to children and children have references to their parent. Without this library, two steps are required to add a child:
Code:
parent.Children.Add(child);
child.Parent = parent;
Now with this library, all you have is:
Code:
parent.Children.Add(child);
And the library sets the Parent attribute for you. And removing the child from the parent's collection also sents Child.Parent to null.
As with the generic collection wrapper classes in the library, a little bit of plumbing is required, but much less than would otherwise be necessary to implement this. And as with all the other functionality, some documentation is necessary, which I'll put up on that repository ASAP.