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