3 types derived from FlowNode
System.Activities (3)
System\Activities\Statements\FlowDecision.cs (1)
15
public sealed class FlowDecision :
FlowNode
System\Activities\Statements\FlowStep.cs (1)
13
public sealed class FlowStep :
FlowNode
System\Activities\Statements\FlowSwitch.cs (1)
15
public sealed class FlowSwitch<T> :
FlowNode
, IFlowSwitch
122 references to FlowNode
System.Activities (45)
System\Activities\Statements\Flowchart.cs (29)
22
Collection<
FlowNode
> nodes;
23
Collection<
FlowNode
> reachableNodes;
32
this.reachableNodes = new Collection<
FlowNode
>();
65
public
FlowNode
StartNode
72
public Collection<
FlowNode
> Nodes
78
this.nodes = new ValidatingCollection<
FlowNode
>
99
foreach (
FlowNode
node in originalFlowchart.reachableNodes)
123
foreach (
FlowNode
node in this.reachableNodes)
166
foreach (
FlowNode
node in this.reachableNodes)
195
IEnumerable<
FlowNode
> childrenNodes = this.ValidateUnconnectedNodes ? this.Nodes.Distinct() : this.reachableNodes;
196
foreach (
FlowNode
node in childrenNodes)
230
bool VisitNode(
FlowNode
node, NativeActivityMetadata metadata)
245
void DepthFirstVisitNodes(Func<
FlowNode
, bool> visitNodeCallback,
FlowNode
start)
249
List<
FlowNode
> connected = new List<
FlowNode
>();
250
Stack<
FlowNode
> stack = new Stack<
FlowNode
>();
258
FlowNode
current = stack.Pop();
298
void ExecuteNodeChain(NativeActivityContext context,
FlowNode
node, ActivityInstance completedInstance)
324
FlowNode
current = node;
327
FlowNode
next;
341
bool ExecuteSingleNode(NativeActivityContext context,
FlowNode
node, out
FlowNode
nextNode)
373
FlowNode
GetCurrentNode(NativeActivityContext context)
376
FlowNode
result = this.reachableNodes[index];
385
FlowNode
next = step.Next;
393
FlowNode
next = result ? decision.True : decision.False;
401
FlowNode
next = switchNode.GetNextNode(result);
System\Activities\Statements\FlowDecision.cs (3)
56
public
FlowNode
True
64
public
FlowNode
False
91
internal override void GetConnectedNodes(IList<
FlowNode
> connections)
System\Activities\Statements\FlowNode.cs (1)
86
internal abstract void GetConnectedNodes(IList<
FlowNode
> connections);
System\Activities\Statements\FlowStep.cs (3)
28
public
FlowNode
Next
38
internal override void GetConnectedNodes(IList<
FlowNode
> connections)
51
internal bool Execute(NativeActivityContext context, CompletionCallback onCompleted, out
FlowNode
nextNode)
System\Activities\Statements\FlowSwitch.cs (8)
18
internal IDictionary<T,
FlowNode
> cases;
24
this.cases = new NullableKeyDictionary<T,
FlowNode
>();
36
public
FlowNode
Default
43
public IDictionary<T,
FlowNode
> Cases
72
internal override void GetConnectedNodes(IList<
FlowNode
> connections)
74
foreach (KeyValuePair<T,
FlowNode
> item in this.Cases)
95
FlowNode
IFlowSwitch.GetNextNode(object value)
97
FlowNode
result;
System\Activities\Statements\IFlowSwitch.cs (1)
10
FlowNode
GetNextNode(object value);
System.Activities.Core.Presentation (73)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (31)
50
Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements = new Dictionary<
FlowNode
,
FlowNode
>();
54
FlowNode
flowElement = (
FlowNode
)flowElementMI.GetCurrentValue();
59
foreach (
FlowNode
flowElement in clonedFlowElements.Keys)
65
List<
FlowNode
> metaData = new List<
FlowNode
>(clonedFlowElements.Values);
133
void UpdateCloneReferences(
FlowNode
currentFlowElement, Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements)
139
FlowNode
nextFlowElement = currentFlowStep.Next;
153
FlowNode
trueElement = currentFlowDecision.True;
154
FlowNode
falseElement = currentFlowDecision.False;
187
void UpdateCloneReferenceByModelItem (
FlowNode
currentFlowElement,
188
Dictionary<
FlowNode
, ModelItem> modelItems, Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements)
195
FlowNode
nextFlowElement = currentFlowStep.Next;
216
FlowNode
trueElement = currentFlowDecision.True;
217
FlowNode
falseElement = currentFlowDecision.False;
259
typeof(
FlowNode
).IsAssignableFrom(p.GetType()) ||
261
(p is Type && typeof(
FlowNode
).IsAssignableFrom((Type)p)));
282
if (designerMetaData is List<
FlowNode
>)
285
foreach (
FlowNode
element in designerMetaData as List<
FlowNode
>)
526
FlowNode
CloneFlowElement(
FlowNode
flowElement, Predicate<AttachableMemberIdentifier> allowAttachableProperty = null)
529
FlowNode
clonedObject = (
FlowNode
)Activator.CreateInstance(flowElementType);
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (1)
80
FlowNode
fs = flowSwitchLink.ParentFlowSwitch;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (23)
271
builder.AddCustomAttributes(typeof(
FlowNode
), new ShowInOutlineViewAttribute());
272
builder.AddCustomAttributes(typeof(Collection<
FlowNode
>), new ShowInOutlineViewAttribute());
1535
Dictionary<object,
FlowNode
> objToNewFlowNodeMap = null;
1536
Dictionary<
FlowNode
, ModelItem> flowNodeModelItemMap = null;
1537
Dictionary<
FlowNode
,
FlowNode
> oldNewFlowNodeMap = null;
1600
FlowNode
flowElement = objToNewFlowNodeMap[droppedObject];
1656
else if (typeof(
FlowNode
).IsAssignableFrom(droppedObject.GetType()))
1704
foreach (
FlowNode
flowNode in oldNewFlowNodeMap.Keys)
1789
out Dictionary<object,
FlowNode
> objToNewFlowNodeMap,
1790
out Dictionary<
FlowNode
, ModelItem> flowNodeNewModelItemMap,
1791
out Dictionary<
FlowNode
,
FlowNode
> oldNewFlowNodeMap)
1794
objToNewFlowNodeMap = new Dictionary<object,
FlowNode
>();
1795
oldNewFlowNodeMap = new Dictionary<
FlowNode
,
FlowNode
>();
1796
flowNodeNewModelItemMap = new Dictionary<
FlowNode
, ModelItem>();
1838
FlowNode
flowNode = null;
1846
FlowNode
oldFlowNode = flowElementMI.GetCurrentValue() as
FlowNode
;
1931
return DragDropHelper.AllowDrop(e.Data, this.Context, typeof(Activity), typeof(
FlowNode
), typeof(StartNode));
2340
!typeof(
FlowNode
).IsAssignableFrom(draggedType) &&
2626
return typeof(
FlowNode
).IsAssignableFrom(modelItem.ItemType);
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
63
public
FlowNode
ParentFlowSwitch
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (16)
50
public static void Copy(Type genericType,
FlowNode
currentFlowElement, Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements)
56
public static void GenericCopy<T>(
FlowNode
currentFlowElement, Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements)
62
FlowNode
defaultCase = currentFlowSwitch.Default;
86
FlowNode
currentFlowElement,
87
Dictionary<
FlowNode
, ModelItem> modelItems,
88
Dictionary<
FlowNode
,
FlowNode
> clonedFlowElements)
105
public static void GenericRemapFlowSwitch<T>(
FlowNode
currentFlowElement,
106
ModelItem modelItem, Dictionary<
FlowNode
,
FlowNode
> oldNewFlowNodeMap)
111
FlowNode
defaultCase = currentFlowSwitch.Default;
512
Type caseType = typeof(ModelItemKeyValuePair<,>).MakeGenericType(new Type[] { keyType, typeof(
FlowNode
) });
System\Activities\Core\Presentation\IFlowSwitch.cs (1)
20
FlowNode
ParentFlowSwitch
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (4)
1492
if (instance is
FlowNode
)
1494
List<
FlowNode
> flowchartMetaData = new List<
FlowNode
>(1);
1495
flowchartMetaData.Add(instance as
FlowNode
);