/// <summary> /// Initializes the Singleton instance /// </summary> private void Initialize() { var allTypes = TypeReflector.GetAllLoadedTypes(); // load types foreach (var type in allTypes) { this[type.FullName] = type; } }
// ReSharper restore UnassignedField.Global #endif /// <summary> /// Gets all loaded types from all assemblies /// </summary> /// <returns></returns> public static List <Type> GetAllLoadedTypes() { return(TypeReflector.GetAllLoadedTypes()); }