private static GetDefaultMemberName ( |
||
type | ||
return | String |
private static String GetDefaultMemberName(Type type)
{
DefaultMemberAttribute attribute =
(DefaultMemberAttribute) Attribute.GetCustomAttribute(type, typeof(DefaultMemberAttribute));
return attribute != null ? attribute.MemberName : "";
}