Share via


StaticReflection Members

Include Protected Members
Include Inherited Members

The StaticReflection type exposes the following members.

Methods

  Name Description
Public methodStatic member GetConstructorInfo<T>
Retrieves a ConstructorInfo object from an expression in the form () => new SomeType().
Public methodStatic member GetMemberInfo<T, TProperty>
Retrieves a PropertyInfo object for the set method from an expression in the form x => x.SomeProperty.
Public methodStatic member GetMethodInfo(Expression<Action>)
Retrieves a MethodInfo object from an expression in the form () => SomeClass.SomeMethod().
Public methodStatic member GetMethodInfo<T>(Expression<Action<T>>)
Retrieves a MethodInfo object from an expression in the form x => x.SomeMethod().
Public methodStatic member GetPropertyGetMethodInfo<T, TProperty>
Retrieves a MethodInfo object for the get method from an expression in the form x => x.SomeProperty.
Public methodStatic member GetPropertySetMethodInfo<T, TProperty>
Retrieves a MethodInfo object for the set method from an expression in the form x => x.SomeProperty.

See Also

StaticReflection Class

Microsoft.Practices.EnterpriseLibrary.Common.Utility Namespace