[Mono-osx] [MonoMac] Adding WebKit DOM interfaces

Miguel de Icaza miguel at novell.com
Wed Nov 10 11:40:53 EST 2010


Hello,

    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"

Miguel.

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.,
> DomCssStyleDeclaration.
>
> --
> Regards,
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101110/d2d18cf3/attachment.html 


More information about the Mono-osx mailing list