/// <summary>
        /// Adds the routine to the pool.
        /// </summary>
        /// <param name="routine">The routine delegate to register.</param>
        public void RegisterMethod(CustomConsoleRoutineDelegate routine)
        {
            if (routine == null)
                return;

            if (customRoutines.ContainsKey(routine.Method.Name))
                return;

            customRoutines.Add(routine.Method.Name, routine);
        }
        /// <summary>
        /// Removes the routine from the pool.
        /// </summary>
        /// <param name="routine">The routine delegate to remove.</param>
        public void UnRegisterMethod(CustomConsoleRoutineDelegate routine)
        {
            if (routine == null)
                return;

            if (!customRoutines.ContainsKey(routine.Method.Name))
                return;

            customRoutines.Remove(routine.Method.Name);
        }