How to prevent Extension methods from appearing as global functions(msmvps.com)
submitted by
Joacim(255) 2 years, 11 months ago
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 in VB, will appear in IntelliSense as global functions and not only as a method of the type you extended. read more...
|category: VB.NET
|Views: 13
tags:
VB Methods VB.NET Extension another
Everyones tags:
Your Tags: