AjTalk.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 = AsType(name);

            if (type != null)
                return type;

            throw new InvalidOperationException(string.Format("Unknown type '{0}'", name));
        }