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

ActionInvocation() public method

Initializes an ActionInvocation with the name of the action to be invoked.
public ActionInvocation ( string actionName ) : System
actionName string The name of the action to be invoked.
return System
        public ActionInvocation(string actionName)
        {
            if (String.IsNullOrEmpty(actionName)) {
                throw new ArgumentNullException("actionName");
            }

            _actionName = actionName;
            _parameters = new List<object>();
            _namedParameters = new Dictionary<string, string>();
        }
ActionInvocation