AjErl.Utilities.TypeUtilities.GetType C# (CSharp) Method

GetType() public static method

public static GetType ( string name ) : Type
name string
return System.Type
        public static Type GetType(string name)
        {
            Type type = Type.GetType(name);

            if (type != null)
                return type;

            type = GetTypeFromLoadedAssemblies(name);

            if (type != null)
                return type;

            type = GetTypeFromPartialNamedAssembly(name);

            if (type != null)
                return type;

            LoadReferencedAssemblies();

            type = GetTypeFromLoadedAssemblies(name);

            if (type != null)
                return type;

            return null;
        }