-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMapping.cs
34 lines (30 loc) · 1.17 KB
/
Mapping.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Collections.Generic;
namespace TFSAggregator
{
public class Mapping
{
public Mapping()
{
SourceValues = new List<string>();
}
/// <summary>
/// The value to set to if all of the source work items we
/// compare to have SourceValues
/// </summary>
public string TargetValue { get; set; }
/// <summary>
/// If all/one the WorkItems we compare to have values in this list
/// then we will set the target work item to have the target value.
/// </summary>
public List<string> SourceValues { get; set; }
/// <summary>
/// If true then all of the source values have to be valid.
/// If false then only one of the source values have to be valid.
/// Example for True: You would set it to true for a mapping to done
/// (you want all the children Done before the parent is Done).
/// Example for False: You would set it to false for a mapping to In Progress
/// (if even one child is in progress then the parent is In Progress).
/// </summary>
public bool Inclusive { get; set; }
}
}