Catel.Reflection.ReflectionExtensions.GetExportedTypesEx C# (CSharp) Method

GetExportedTypesEx() public static method

public static GetExportedTypesEx ( this assembly ) : System.Type[]
assembly this
return System.Type[]
        public static Type[] GetExportedTypesEx(this Assembly assembly)
        {
            Argument.IsNotNull("assembly", assembly);

            Type[] results = null;

#if NETFX_CORE || WP80 || PCL
            results = assembly.ExportedTypes.ToArray();
#else
            results = assembly.GetExportedTypes();
#endif

            return results;
        }