[Mono-osx] [MonoMac] Adding WebKit DOM interfaces
Miguel de Icaza
miguel at novell.com
Wed Nov 10 11:40:53 EST 2010
This works, would you mind aggregating all of these in a single file
called "Enumerators.cs", so we do not have to go through all files?
If no notices, yesterday I added indexers for all of the elements that
can be indexed, and placed them all in "Items.cs"
On Wed, Nov 10, 2010 at 11:28 AM, Alexander Shulgin <
alexander.shulgin at yessoftware.com> wrote:
> On 09.11.2010 18:34, Miguel de Icaza wrote:
>> 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?
>> We should examine this on a case-by-case basis.
> OK, here's what I currently got with generic enumerator (attached). Is
> this any good?
> I don't see how it could be further reduced, but at least the enumerator
> code is not duplicated. We can use the same generic enumerator for e.g.,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx