상속: System.Attribute
예제 #1
0
        public static void Override(Type type, EntityKindAttribute attr)
        {
            if (type == null)
                throw new ArgumentNullException("attr");

            if (attr == null)
                throw new ArgumentNullException("attr");

            dictionary.AddOrUpdate(type, attr, (t, _) => attr);
        }
예제 #2
0
        public static void Override(Type type, EntityKindAttribute attr)
        {
            if (type == null)
            {
                throw new ArgumentNullException("attr");
            }

            if (attr == null)
            {
                throw new ArgumentNullException("attr");
            }

            dictionary.AddOrUpdate(type, attr, (t, _) => attr);
        }