예제 #1
0
 public static IEnumerable <AttributeMemberInfo> GetAttributePropertyMembers(this Type beginningType, Type attributeType, Type?interruptingBaseType = null, VariableInfoDescriptor?descriptor = null, bool?getCustomAttributesInherit = null)
 => ReflectionTools.GetAttributeMembers(attributeType, GetPropertyMembers, beginningType, interruptingBaseType, descriptor, getCustomAttributesInherit);
예제 #2
0
 public static IEnumerable <AttributeMemberInfo <TAttribute> > GetAttributeFieldMembers <TAttribute>(this Type beginningType, Type?interruptingBaseType = null, VariableInfoDescriptor?descriptor = null, bool?getCustomAttributesInherit = null)
     where TAttribute : Attribute
 => ReflectionTools.GetAttributeMembers <TAttribute>(GetFieldMembers, beginningType, interruptingBaseType, descriptor, getCustomAttributesInherit);