Attribute for describing interaction points within a task.

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

Syntax

C#
public class InteractionPointAttribute : Attribute
Visual Basic (Declaration)
Public Class InteractionPointAttribute _
	Inherits Attribute
Visual C++
public ref class InteractionPointAttribute : public Attribute

Remarks

Should be used with TaskInfoByAttributesProvider or DefaultTaskInfoProvider task info providers. They convert this attribute occurrences into TaskInfo objects.

Examples

Here is an example of how this attribute may be used:
CopyC#
class MyTask
{
    [InteractionPoint(typeof(MyController1))]
    public const string iPoint1 = "View1";

    [IPoint(typeof(MyController2), true, iPoint1)]
    public const string iPoint2 = "View2";

    [InteractionPoint(typeof(MyController1), iPoint1, iPoint2)]
    public const string iPoint3 = "View3";

    [InteractionPoint(typeof(MyController1), true)]
    [NavTarget("Next", iPoint3)]
    [NavTarget("Previous", iPoint2)]
    public const string iPoint4 = "View4";
}

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    MVCSharp.Core.Configuration.Tasks..::.InteractionPointAttribute
      MVCSharp.Core.Configuration.Tasks..::.IPointAttribute

See Also