// This class is auto generated

using System;
using System.Collections.Generic;

namespace NaughtyAttributes.Editor {
    public static class NativePropertyDrawerDatabase {
        private static Dictionary<Type, NativePropertyDrawer> drawersByAttributeType;

        static NativePropertyDrawerDatabase () => drawersByAttributeType = new Dictionary<Type, NativePropertyDrawer> {
            [typeof(ShowNativePropertyAttribute)] = new ShowNativePropertyNativePropertyDrawer()
        };

        public static NativePropertyDrawer GetDrawerForAttribute (Type attributeType) {
            NativePropertyDrawer drawer;
            if (drawersByAttributeType.TryGetValue(attributeType, out drawer)) {
                return drawer;
            } else {
                return null;
            }
        }
    }
}
