Пример #1
0
        public static PropertyDrawer GetDrawer(FieldInfo field)
        {
            Type type = AttributeUtility.GetPropertyAttribute(field);

            return(GetDrawer(type));
        }
Пример #2
0
 public static Type GetPropertyAttribute(FieldInfo field)
 {
     return(AttributeUtility.GetPropertyAttribute(AttributeUtility.GetCustomAttributes(field)) ?? field.FieldType);
 }