Partager via


ReflectionHelper Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

The ReflectionHelper type exposes the following members.

Methods

  Name Description
Ee651184.pubmethod(en-us,PandP.10).gifEe651184.static(en-us,PandP.10).gif GetAllAttributes<TAttribute>
Given a particular MemberInfo, find all the attributes that apply to this member. Specifically, it returns the attributes on the type, then (if it's a property accessor) on the property, then on the member itself.
Ee651184.pubmethod(en-us,PandP.10).gifEe651184.static(en-us,PandP.10).gif GetAttributes<TAttribute>
Given a particular MemberInfo, return the custom attributes of the given type on that member.
Ee651184.pubmethod(en-us,PandP.10).gifEe651184.static(en-us,PandP.10).gif GetPropertyFromMethod
Given a MethodBase for a property's get or set method, return the corresponding property information.

See Also

ReflectionHelper Class

Microsoft.Practices.Unity.InterceptionExtension Namespace