> That can be emulated via the MethodInfo
> approach described in the previous paragraph. With a bit of moderately
> clever design, you could create set of related reusable generic types,
> all with different arity of their Invoke methods, that solves this
> problem in a totally general way.
>
>
> Boooo.....I just need it the once....I can see how one would do it 'long
> hand'.
>
> I was hoping that I was just ignorant of some minor syntactical thing.
It shouldn't take more than 15 minutes to write, I'd expect I could
write one sooner than get a reply from a list ;)
You could use my Dynamic library (and the example program) as a
starting (or possibly finishing) point. I've got totally generic
invocation down :)
http://musingmarc.blogspot.com/search/label/DynamicMethod
It's on CodePlex:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=Dynamic
--
"I am Dyslexic of Borg. Resistors are fertile. Prepare to have your
ass laminated." -- Dan Nitschke
Marc C. Brooks
http://musingmarc.blogspot.com
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com