public ParameterReflector(ParameterInfo parameter) { MemberInfo = parameter; CustomAttributeReflectors = parameter.CustomAttributes.Select(data => CustomAttributeReflector.Create(data)).ToArray(); }
public MemberReflector(TMemberInfo memberInfo) { MemberInfo = memberInfo; CustomAttributeReflectors = memberInfo.CustomAttributes.Select(data => CustomAttributeReflector.Create(data)).ToArray(); }