System.ComponentModel.Navigation.RedirectActionResult.RedirectActionResult C# (CSharp) Method

RedirectActionResult() private method

private RedirectActionResult ( Type controllerType, string actionName ) : System
controllerType System.Type
actionName string
return System
        internal RedirectActionResult(Type controllerType, string actionName, params string[] parameters)
        {
            if (controllerType == null) {
                throw new ArgumentNullException("controllerType");
            }
            if (typeof(Controller).IsAssignableFrom(controllerType) == false) {
                throw new ArgumentException("The specified type is not a Controller type.", "controllerType");
            }
            if (String.IsNullOrEmpty(actionName)) {
                throw new ArgumentNullException("actionName");
            }

            _controllerType = controllerType;
            _actionName = actionName;
            _parameters = parameters;
        }
RedirectActionResult