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 | |
---|---|---|
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.
|
|
GetAttributes<TAttribute> |
Given a particular MemberInfo, return the custom attributes of the given type on that member.
|
|
GetPropertyFromMethod |
Given a MethodBase for a property's get or set method, return the corresponding property information.
|