Can't you just store the array in an "Object", then each calls are
dispatched?

Dim o As Object
o = the_array
o.Add(whatever)

/Emil

2012/2/10 Fabián Flores Vadell <fabianfloresvad...@gmail.com>

> 2012/2/10 nando <nand...@nothingsimple.com>
>
> > First, what are you trying to do?--
> >
>
>
> I'm trying to find a design pattern that allows me to use the introspective
> features of Gambas to avoid the boring work consisting in write (in a
> class) the signatures of some methods that belong to one of its
> collaborators (that I need to expose).
> In this case, I need to expose some methods from an array in my class, but
> I don't want to write the wrapper signatures, e.g.:
>
> Public Sub Add(somethig As type)
>  myArray.Add(something)
> End
>
>
> Fabián Flores Vadell
> www.comoprogramarcongambas.blogspot.com
> www.speedbooksargentina.blogspot.com
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to