2
pimps
244 days, 2 hours, 47 minutes ago
Wednesday, June 10, 2009 1:37:28 PM GMT Wednesday, June 10, 2009 1:46:24 AM GMT

How to prevent Extension methods from appearing as global functions - Joacim's view on stuff

How to prevent Extension methods from appearing as global functions - Joacim's view on stuff
 
msmvps.com -- How to prevent Extension methods from appearing as global functions C# have static (or shared) classes which VB lacks. Instead VB uses modules which are almost the same thing. One thing differs though and that is that modules makes its public methods appear as global accessible functions, meaning you don’t have to type the ModuleName.MethodName() when calling such a member. You can instead simply call MethodName() directly. A disadvantage of this fact is that extension methods, that must exist in modules ...
http://www.joacimsview.com/http://www.joacimsview.com/ posted 244 days, 14 hours, 39 minutes ago     show counter code
tags: extension methods, intellisense, VB, VB.NET, Visual Basic, visual studio

No comments yet, be the first one to post comment.

To post your comment please login or signup