With this attribute applied to a task type adjacent interaction points can be defined. By the term adjacent we mean interaction points with transitions possible between each two of them.

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

Syntax

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

Remarks

This attribute is valid only if specific ITaskInfoProvider implementations are used: TaskInfoByAttributesProvider or a composite DefaultTaskInfoProvider.

Examples

The code below declares a task with three interaction points, and transitions possible between each two of them.
CopyC#
[AdjacentPoints(View1, View2, View3)]
class MyTask : ITask
{
    [IPoint(typeof(MyController))]
    public const string View1 = "View 1";
    [IPoint(typeof(MyController))]
    public const string View2 = "View 2";
    [IPoint(typeof(MyController))]
    public const string View3 = "View 3";
}

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    MVCSharp.Core.Configuration.Tasks..::.AdjacentPointsAttribute

See Also