Inheritance: System.Attribute
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }