internal static IDictionary GetPersonalizablePropertyEntries(Type type)
        {
            PersonalizableTypeEntry entry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];

            if (entry == null)
            {
                entry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = entry;
            }
            return(entry.PropertyEntries);
        }
        public static ICollection GetPersonalizableProperties(Type type)
        {
            PersonalizableTypeEntry entry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];

            if (entry == null)
            {
                entry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = entry;
            }
            return(entry.PropertyInfos);
        }
Beispiel #3
0
        /// <devdoc>
        /// Returns the list of personalizable properties as a collection of
        /// PropertyInfos for the specified type.
        /// </devdoc>
        internal static IDictionary GetPersonalizablePropertyEntries(Type type)
        {
            Debug.Assert(type != null);

            PersonalizableTypeEntry typeEntry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];

            if (typeEntry == null)
            {
                typeEntry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = typeEntry;
            }

            return(typeEntry.PropertyEntries);
        }
Beispiel #4
0
        /// <devdoc>
        /// Returns the list of personalizable properties as a collection of
        /// PropertyInfos for the specified type.
        /// </devdoc>
        public static ICollection GetPersonalizableProperties(Type type)
        {
            Debug.Assert(type != null);

            PersonalizableTypeEntry typeEntry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];

            if (typeEntry == null)
            {
                typeEntry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = typeEntry;
            }

            return(typeEntry.PropertyInfos);
        }
        /// <devdoc>
        /// Returns the list of personalizable properties as a collection of
        /// PropertyInfos for the specified type.
        /// </devdoc>
        internal static IDictionary GetPersonalizablePropertyEntries(Type type) {
            Debug.Assert(type != null);

            PersonalizableTypeEntry typeEntry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];

            if (typeEntry == null) {
                typeEntry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = typeEntry;
            }

            return typeEntry.PropertyEntries;
        }
        /// <devdoc>
        /// Returns the list of personalizable properties as a collection of
        /// PropertyInfos for the specified type.
        /// </devdoc>
        public static ICollection GetPersonalizableProperties(Type type) {
            Debug.Assert(type != null);

            PersonalizableTypeEntry typeEntry = (PersonalizableTypeEntry)PersonalizableTypeTable[type];
            if (typeEntry == null) {
                typeEntry = new PersonalizableTypeEntry(type);
                PersonalizableTypeTable[type] = typeEntry;
            }

            return typeEntry.PropertyInfos;
        }