Example #1
0
        /// <summary>
        /// Configures the default command of the application.
        /// </summary>
        /// <param name="commandType">The type of the default command.</param>
        public void SetDefaultCommand(Type commandType)
        {
            if (commandType == null)
            {
                throw new ArgumentNullException("commandType");
            }

            commandRegistry.SetDefaultCommand(commandType);
        }