I am trying to write an Extension Method for IEnumerable(Of T). I will be using reflection on the Type T in the Extension Method to get a list of it's properties so that I can create an Anonymous Type that will include all those properties. I have written Extension Methods before, but never a...
We use a custom collection derived from CollectionBase to store our Business objects
Public Class BECollection(Of t As AbstractEntity) Inherits CollectionBase
AbstractEntity is the class all our Business entity classes originate from. Things are looking good, except for some issues we are...
Is there an alternative way to identify within a generic method the type that was passed in (of T) without having to create a bogus object and check typename?
Public Shared Function Create(Of T)() As iManager(Of T)
Dim BogusVar as T -- don't want to do it this way if possible to avoid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.