Navigator Class
Basing on the navigation information stored in the TaskInfo property performs navigation to the required view.

View activation is delegated to the linked ViewsManager object.

Namespace:  MVCSharp.Core
Assembly:  MVCSharp (in MVCSharp.dll)
Version: 0.8.5217.34148

Syntax

C#
public class Navigator
Visual Basic (Declaration)
Public Class Navigator
Visual C++
public ref class Navigator

Remarks

During a task start Navigator object gets connected to the ITask object and the proper IViewsManager object (Navigator.Task and Navigator.ViewsManager properties respectively).

Examples

After a task is started the navigator is often accessed from controllers:
CopyC#
class MyController : ControllerBase
{
    public void MyOperation()
    {
        Task.Navigator.Navigate(MainTask.SomeView);
    }
}

Inheritance Hierarchy

System..::.Object
  MVCSharp.Core..::.Navigator
    MVCSharp.Core..::.StubNavigator

See Also