Ejemplo n.º 1
0
        /// <summary>
        /// Initializes the Singleton instance
        /// </summary>
        private void Initialize()
        {
            var allTypes = TypeReflector.GetAllLoadedTypes(); // load types

            foreach (var type in allTypes)
            {
                this[type.FullName] = type;
            }
        }
Ejemplo n.º 2
0
// ReSharper restore UnassignedField.Global
#endif
        /// <summary>
        /// Gets all loaded types from all assemblies
        /// </summary>
        /// <returns></returns>
        public static List <Type> GetAllLoadedTypes()
        {
            return(TypeReflector.GetAllLoadedTypes());
        }