ReflectionSearch.GetMembersOfType Method (Type, ReflectionSearchOptions) |
Gets all members (FieldInfo, PropertyInfo, or
ParameterInfo) of the assembly being processed of a given type and specifies additional options.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public static MemberTypeCodeReference[] GetMembersOfType( Type memberType, ReflectionSearchOptions options )
Parameters
- memberType
- Type: System.Type
Member type. - options
- Type: PostSharp.Reflection.ReflectionSearchOptions
Either IncludeTypeElement or None.
Return Value
Type: MemberTypeCodeReference[]The set of all members of type memberType in the assembly being processed
This feature is available only at build time. |