Click here to Skip to main content
15,903,362 members
Everything / System.Reflection

System.Reflection

System.Reflection

Great Reads

by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side
by Anton Angelov
A new simplified AutoMapper library that you can use to map one object to another automatically. Compared to AutoMapper, ReducedAutoMapper is 180% faster.

Latest Articles

by Anton Angelov
A new simplified AutoMapper library that you can use to map one object to another automatically. Compared to AutoMapper, ReducedAutoMapper is 180% faster.
by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side

All Articles

Sort by Score

System.Reflection 

6 Apr 2014 by shelby67
I've looked all over the web for answers on how to get struct types from an assembly (".dll" or ".exe") but can't find anything.I know that it requires the System.Reflection namespace but don't know how to construct and function to return a list of structs.
6 Apr 2014 by Abhinav S
Using reflection loop through the class details and use the following condition -type.IsValueType && !type.IsPrimitive && !type.Namespace.StartsWith("System") && !type.IsEnum.It should help you get a list of structs used in the class.If you want an example on reflection, try Accessing...
6 Apr 2014 by Sergey Alexandrovich Kryukov
This is how: http://msdn.microsoft.com/en-us/library/system.reflection.assembly.gettype.aspx[^].You need to learn reflection, if you want to move in this direction. And learn how to find what you need in documentation. I guess next your question would be what to do with a types when you...
29 Nov 2014 by Sicppy
I have this function:public void LoadPlugins() { foreach (FileInfo f in new DirectoryInfo(pDir).GetFiles()) { if (f.Extension.ToLower() != ".dll") continue; try { string path = f.FullName; ...
7 Nov 2014 by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side
11 Sep 2015 by Anton Angelov
A new simplified AutoMapper library that you can use to map one object to another automatically. Compared to AutoMapper, ReducedAutoMapper is 180% faster.