56 references to BreakpointTypes
System.Activities.Presentation (56)
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (40)
48
Dictionary<ModelItem,
BreakpointTypes
> breakpoints; // The map contains breakpoint that has its ModelItem on the modelTree.
49
Dictionary<ModelItem,
BreakpointTypes
> transientBreakpoints; // The map contains breakpoint that has its ModelItem not on the modelTree.
50
Dictionary<SourceLocation,
BreakpointTypes
> unmappedBreakpoints; // The map contains breakpoint that has no ModelItem
73
this.breakpoints = new Dictionary<ModelItem,
BreakpointTypes
>();
75
this.transientBreakpoints = new Dictionary<ModelItem,
BreakpointTypes
>();
76
this.unmappedBreakpoints = new Dictionary<SourceLocation,
BreakpointTypes
>(4);
249
Getter = (modelItem) => IsBreakpointOfType(modelItem,
BreakpointTypes
.Enabled),
256
Getter = (modelItem) => IsBreakpointOfType(modelItem,
BreakpointTypes
.Bounded),
263
Getter = (modelItem) => IsBreakpointOfType(modelItem,
BreakpointTypes
.Conditional),
308
BreakpointTypes
breakpointType;
312
SetBreakpointType(modelItem,
BreakpointTypes
.None); // clear breakpoint
362
BreakpointTypes
breakpointType;
387
bool IsBreakpointOfType(ModelItem modelItem,
BreakpointTypes
breakpointType)
390
BreakpointTypes
actualBreakpointType;
399
void SetBreakpointType(ModelItem modelItem,
BreakpointTypes
newBreakpointType)
401
BreakpointTypes
oldBreakpointType =
BreakpointTypes
.None;
404
Fx.Assert(oldBreakpointType !=
BreakpointTypes
.None, "Should not store BreakpointType.None");
405
if (newBreakpointType ==
BreakpointTypes
.None)
414
else if (newBreakpointType !=
BreakpointTypes
.None)
420
if ((oldBreakpointType &
BreakpointTypes
.Bounded) !=
421
(newBreakpointType &
BreakpointTypes
.Bounded))
426
if ((oldBreakpointType &
BreakpointTypes
.Enabled) !=
427
(newBreakpointType &
BreakpointTypes
.Enabled))
432
if ((oldBreakpointType &
BreakpointTypes
.Conditional) !=
433
(newBreakpointType &
BreakpointTypes
.Conditional))
531
public IDictionary<SourceLocation,
BreakpointTypes
> GetBreakpointLocations()
533
IDictionary<SourceLocation,
BreakpointTypes
> breakpointLocations = new Dictionary<SourceLocation,
BreakpointTypes
>();
538
foreach (KeyValuePair<ModelItem,
BreakpointTypes
> entry in this.breakpoints)
549
foreach (KeyValuePair<SourceLocation,
BreakpointTypes
> entry in this.unmappedBreakpoints)
558
public void InsertBreakpoint(SourceLocation sourceLocation,
BreakpointTypes
breakpointType)
564
public void UpdateBreakpoint(SourceLocation sourceLocation,
BreakpointTypes
newBreakpointType)
573
BreakpointTypes
oldBreakpointType;
576
if (newBreakpointType ==
BreakpointTypes
.None)
585
else if (newBreakpointType !=
BreakpointTypes
.None)
595
UpdateBreakpoint(sourceLocation,
BreakpointTypes
.None);
625
Dictionary<SourceLocation,
BreakpointTypes
> newUnmappedBreakpoints = new Dictionary<SourceLocation,
BreakpointTypes
>(this.unmappedBreakpoints.Count);
701
BreakpointTypes
breakpointType;
System.Activities.Presentation\System\Activities\Presentation\Debugger\IDesignerDebugView.cs (3)
43
IDictionary<SourceLocation,
BreakpointTypes
> GetBreakpointLocations();
48
void InsertBreakpoint(SourceLocation sourceLocation,
BreakpointTypes
breakpointType);
49
void UpdateBreakpoint(SourceLocation sourceLocation,
BreakpointTypes
breakpointType);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (13)
137
Func<WorkflowViewElement,
BreakpointTypes
> getBreakpointType;
284
BreakpointTypes
result =
BreakpointTypes
.None;
867
this.getBreakpointType(this.FocusedViewElement) ==
BreakpointTypes
.None ?
894
this.getBreakpointType(this.FocusedViewElement) !=
BreakpointTypes
.None ?
921
BreakpointTypes
breakpoint = this.getBreakpointType(this.FocusedViewElement);
922
visibility = ((breakpoint &
BreakpointTypes
.Bounded) != 0 && (breakpoint &
BreakpointTypes
.Enabled) == 0) ?
950
BreakpointTypes
breakpoint = this.getBreakpointType(this.FocusedViewElement);
951
visibility = ((breakpoint &
BreakpointTypes
.Bounded) != 0 && (breakpoint &
BreakpointTypes
.Enabled) != 0) ?
1706
commandParameters.Add(typeof(
BreakpointTypes
).Name,
BreakpointTypes
.Bounded);