Inheritance: System.Attribute
Example #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);
        }
        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);
        }