1 interface inheriting from IFlowSwitchLink
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\IFlowSwitch.cs (1)
45interface IFlowSwitchDefaultLink : IFlowSwitchLink
1 implementation of IFlowSwitchLink
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
16abstract class FlowSwitchLink<T> : DependencyObject, IFlowSwitchLink
39 references to IFlowSwitchLink
System.Activities.Core.Presentation (39)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (5)
186IFlowSwitchLink link = GenericFlowSwitchHelper.CreateFlowSwitchLink(flowSwitchModelItem.ItemType, flowSwitchModelItem, ((IFlowSwitchLink)oldLinkModelItem.GetCurrentValue()).CaseObject, isDefault); 466IFlowSwitchLink link = GenericFlowSwitchHelper.CreateFlowSwitchLink(currentMI.ItemType, currentMI, null, true); 477IFlowSwitchLink link = GenericFlowSwitchHelper.CreateFlowSwitchLink(currentMI.ItemType, currentMI, (key == null) ? null : key.GetCurrentValue(), false); 639IFlowSwitchLink link;
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (17)
31internal IFlowSwitchLink DeleteLink(Connector link, bool isMoveOrAutoSplit = false, 34IFlowSwitchLink caseKey = null; 44private IFlowSwitchLink DeleteLinkImpl(Connector link, bool isMoveOrAutoSplit = false, 47IFlowSwitchLink caseKey = null; 75else if (typeof(IFlowSwitchLink).IsAssignableFrom(linkModelItem.ItemType)) 77IFlowSwitchLink flowSwitchLink = (IFlowSwitchLink)linkModelItem.GetCurrentValue(); 128bool UpdateFlowChartObject(ConnectionPoint sourceConnPoint, ConnectionPoint destConnPoint, out string errorMessage, bool isLinkValidDueToLinkMove, IFlowSwitchLink caseKey) 212bool CreateFlowSwitchLink(ConnectionPoint sourceConnPoint, ModelItem srcFlowElementMI, ModelItem destFlowElementMI, IFlowSwitchLink caseKey, PointCollection connectorViewState, ref string errorMessage) 217IFlowSwitchLink link = GenericFlowSwitchHelper.CreateFlowSwitchLink(srcFlowElementMI.ItemType, srcFlowElementMI, null, true); 257IFlowSwitchLink link = GenericFlowSwitchHelper.CreateFlowSwitchLink(srcFlowElementMI.ItemType, srcFlowElementMI, uniqueCaseName, false); 271internal bool CreateLinkGesture(ConnectionPoint sourceConnectionPoint, ConnectionPoint destConnectionPoint, out string errorMessage, IFlowSwitchLink caseKey) 276internal bool CreateLinkGesture(ConnectionPoint sourceConnectionPoint, ConnectionPoint destConnectionPoint, out string errorMessage, bool isLinkValidDueToLinkMove, IFlowSwitchLink caseKey) 308internal bool CreateLinkGesture(ConnectionPoint sourceConnectionPoint, UIElement dest, Point mouseLocation, out string errorMessage, bool isLinkValidDueToLinkMove, IFlowSwitchLink caseKey) 330internal bool CreateLinkGesture(ConnectionPoint sourceConnectionPoint, UIElement dest, out string errorMessage, bool isLinkValidDueToLinkMove, IFlowSwitchLink caseKey) 341internal bool CreateLinkGesture(UIElement source, ConnectionPoint destConnectionPoint, Point mouseLocation, out string errorMessage, bool isLinkValidDueToLinkMove, IFlowSwitchLink caseKey) 364internal bool CreateLinkGesture(UIElement source, UIElement dest, out string errorMessage, IFlowSwitchLink caseKey)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (14)
802IFlowSwitchLink oldCaseKey = this.DeleteLink(movedConnector, true); 937else if (typeof(IFlowSwitchLink).IsAssignableFrom(linkModelItem.ItemType)) 939IFlowSwitchLink flowSwitchLink = (IFlowSwitchLink)linkModelItem.GetCurrentValue(); 993else if (typeof(IFlowSwitchLink).IsAssignableFrom(linkModelItem.ItemType)) 996IFlowSwitchLink link = (IFlowSwitchLink)linkModelItem.GetCurrentValue(); 1412else if (typeof(IFlowSwitchLink).IsAssignableFrom(linkModelItem.ItemType)) 1414IFlowSwitchLink link = (IFlowSwitchLink)linkModelItem.GetCurrentValue(); 1430if (typeof(IFlowSwitchLink).IsAssignableFrom(linkModelItem.ItemType)) 1432IFlowSwitchLink link = (IFlowSwitchLink)linkModelItem.GetCurrentValue(); 2441IFlowSwitchLink flowSwitchLink = this.DeleteLink(connector, true);
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (3)
152public static IFlowSwitchLink CreateFlowSwitchLink(Type flowSwitchType, ModelItem currentMI, object caseValue, bool isDefault) 166return method.Invoke(null, new object[] { currentMI, key, isDefault }) as IFlowSwitchLink; 169public static IFlowSwitchLink CreateGenericFlowSwitchLink<T>(ModelItem currentMI, T caseValue, bool isDefault)