// This class is auto generated using System; using System.Collections.Generic; namespace NaughtyAttributes.Editor { public static class PropertyMetaDatabase { private static Dictionary metasByAttributeType; static PropertyMetaDatabase() { metasByAttributeType = new Dictionary(); metasByAttributeType[typeof(InfoBoxAttribute)] = new InfoBoxPropertyMeta(); metasByAttributeType[typeof(OnValueChangedAttribute)] = new OnValueChangedPropertyMeta(); } public static PropertyMeta GetMetaForAttribute(Type attributeType) { PropertyMeta meta; if (metasByAttributeType.TryGetValue(attributeType, out meta)) { return meta; } else { return null; } } } }