// This class is auto generated using System; using System.Collections.Generic; namespace NaughtyAttributes.Editor { public static class PropertyGrouperDatabase { private static Dictionary groupersByAttributeType; static PropertyGrouperDatabase() { groupersByAttributeType = new Dictionary(); groupersByAttributeType[typeof(BoxGroupAttribute)] = new BoxGroupPropertyGrouper(); } public static PropertyGrouper GetGrouperForAttribute(Type attributeType) { PropertyGrouper grouper; if (groupersByAttributeType.TryGetValue(attributeType, out grouper)) { return grouper; } else { return null; } } } }