Re: Extension methods in C# 3
"sahilt\(mail.utexas\)" <[email protected]>
| Newsgroups | gmane.comp.programming.aspect.general |
|---|---|
| Message-ID | <000501c6ea94$45616cf0$0200a8c0@JACKAL> |
Yes, they are "limited" form of method introductions. It arose from the need to add variability to an assembly (component). The basic idea is that the group responsible for an assembly would define variation points (heterogeneous crosscuts), and other groups will extend them as appropriate for their task. This is closer to product-line work using FOP. However I mentioned they are "limited" in their application because they are not true refinements/extensions. Cheers, Sahil > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Eric Bodden > Sent: Saturday, October 07, 2006 12:14 PM > To: [email protected] > Subject: [aosd-discuss] Extension methods in C# 3 > > Hi everybody. > > I just read about this new mechanism they call "extension methods" in C# 3 > [1]. When I saw them first, I thought "hmmm, that looks a lot like > ITDs...". So does anybody already have looked at extension methods and > could confirm or confute my suspicion that they are intended to be the C# > version of intertype declarations? > > Cheers, > Eric > > [1] C# 3 language spec: http://msdn2.microsoft.com/en- > us/vcsharp/aa336745.aspx > > -- > Eric Bodden > Sable Research Group, McGill University > Montréal, Québec, Canada > > > > _______________________________________________ > discuss mailing list - [email protected] > > To unsubscribe and change options, go to: > http://aosd.net/mailman/listinfo/discuss_aosd.net > > Check out the AOSD.net Wiki: http://aosd.net/wiki _______________________________________________ discuss mailing list - [email protected] To unsubscribe and change options, go to: http://aosd.net/mailman/listinfo/discuss_aosd.net Check out the AOSD.net Wiki: http://aosd.net/wiki