Used to declare navigation triggers with targets for interaction points.
Namespace:
MVCSharp.Core.Configuration.TasksAssembly: MVCSharp (in MVCSharp.dll)
Version: 0.8.5217.34148
Syntax
Remarks
Should be used with TaskInfoByAttributesProvider or
DefaultTaskInfoProvider task info providers. They
convert this attribute occurrences into TaskInfo
objects.
Examples
Below we declare a task with two interaction points and a "Next" trigger
navigating from "View 1" to "View 2":
CopyC#

class MyTask : TaskBase { [InteractionPoint(typeof(MyController))] [NavTarget("Next", View2)] public const string View1 = "View 1"; [InteractionPoint(typeof(MyController))] public const string View2 = "View 2"; public override void OnStart(object param) { Navigator.NavigateDirectly(View1); // Initial interaction point is "View 1" Navigator.Navigate("Next"); // Navigate to "View 2" } }