[Mono-list] Embedded API: Method signature not found with generic parameter

jonathan at mugginsoft.com jonathan at mugginsoft.com
Fri Jul 12 20:48:19 UTC 2013


Hi

> On 12.07.2013 22:25, Robert Jordan wrote:
>> To me, it looks like you want to inflate & invoke to ToList
>> on ObjectSet<Data.Employee> which doesn't sound quite right to me.
> 
> I'm rephrasing this :)
> 
> It looks like you're inflating ToList with ObjectSet<Data.Employee>
> instead of Data.Employee. You're supposed to inflate it with
> Data.Employee and invoke it with an object that implements
> IEnumerable<Data.Employee>, e.g. your ObjectSet<Data.Employee>.

OK. I get it now. I had the cart before the horse.

Can I obtain the generic template type from my ObjectSet MonoObject pointer rather than having to obtain it from a const char*.
I am trying to write a "generic" routine for calling generic methods.

Jonathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130712/5d28e613/attachment-0001.html>


More information about the Mono-list mailing list