view Chronosv2/source/Presentation/Core/Navigation/INavigationService.cs @ 25:81f9b72a44ce

Tidy up
author adminsh@apollo
date Tue, 20 Mar 2012 21:22:00 +0000
parents 09d18d6e5f40
children
line wrap: on
line source


using nRoute.Navigation;

namespace Chronos.Presentation.Core.Navigation
{
    /// <summary>
    /// Interface for view navigation services
    /// </summary>
    public interface INavigationService
    {
        #region · Methods ·

        /// <summary>
        /// Performs the navigation to the given target
        /// </summary>
        /// <param name="target"></param>
        void Navigate(string target);

        /// <summary>
        /// Performs the navigation to the given target
        /// </summary>
        /// <param name="target"></param>
        void Navigate(NavigateMode mode, string target);
        
        /// <summary>
        /// Performs the navigation to the given target
        /// </summary>
        /// <param name="target"></param>
        void Navigate(string target, params object[] args);

        /// <summary>
        /// Performs the navigation to the given target
        /// </summary>
        /// <param name="target"></param>
        void Navigate(NavigateMode mode, string target, params object[] args);
        
        #endregion
    }
}