I\'m working on creating my own DI framework that creates delegate factories as a learning exercise.My way of building typed delegates is to use expressions to create a function that calls a static me
Give a class like below, how can i find the name of one particluar property? public class Student { public int Grade
I\'m attempting to compare a transient object graph to an NHibernate-persisted object graph. Unfortunately my code breaks where properties of type IList<T> are concerned. The code below works fi
With Type.GetProperties() you can retrieve all properties of your current class and the public properties of the base-class. Is it somehow possible to get the private properties of the base-class too?
For whatever reason, I can\'t seem to get the list of types in a referenced assembly.Not only th开发者_JAVA百科at, I can\'t even seem to be able to get to this referenced assembly.
I\'m currently working on creating an Assembly with virtual properties. The examples on MSDN are only creating normal properties. How do I create a class inside an assembly which has virtual propertie
I\'m using Type.InvokeMember() to dynamically invoke various members of a Type.开发者_如何学运维Since the members can be generic and also include out parameters etc., I\'m happy to have the runtime ha
If I have a class like this: public class Whatever { public void aMethod(int aParam); } is there any way to know tha开发者_开发技巧t aMethod uses a parameter named aParam, that is of type int?In Ja
I have a question: Is there an elegant way of getting Attributes on a referenced field. Ie.: public class C1: Base
I have an asp.net web project that references a domain project. From within the web project, I want to create an instance of a class from the domain project using reflection, but I always get null (N