Lazy<SomeClass> x;
x.GetType ().GetGenericParameters [0]
The above (or something like it) will return "typeof (SomeClass)".
For the original question:
Type valueType = Type.Find ("Full.NameSpace.To.Value");
Or something similar![]()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: Lazy loading ConstructorsThreaded View
|
Click Here to Expand Forum to Full Width |