[Mono-osx] [MonoMac] Adding WebKit DOM interfaces
alexander.shulgin at yessoftware.com
Tue Nov 2 13:10:25 EDT 2010
On 02.11.2010 18:42, Alexander Shulgin wrote:
> On 27.10.2010 19:20, Alexander Shulgin wrote:
> I've also added WebKit/DomNodeList.cs in which the generated class is
> extended with indexer and implements IEnumerable<DomNode>, so foreach
> constructs are possible now on DomNodeLists.
> I have very little experience in C# generics, so someone will need to
> guide me while I'm adding more support for IEnumerable. Do I need to
> copy-paste the code replacing the type name or there's a better method
> using generics and/or inheritance?
Oh, I just noticed `uint Length' is causing problems. Going to change
that to `int' like I did for the `index' in GetItem methods.
Coming up with some generic approach to Enumerators...
More information about the Mono-osx