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