csharpdeeb25a2 | 1 | using CascadeIDE.Contracts; |
| 2 | |
| 3 | namespace CascadeIDE.Features.Shell.Application; |
| 4 | |
| 5 | /// <summary>Проекции DAP-состояния для геттеров presentation (без логики на VM).</summary> |
| 6 | [PresentationProjection] |
| 7 | public static class MainWindowPresentationDapProjection |
| 8 | { |
| 9 | public static bool IsDebugExecutionPaused(bool hasActiveSession, bool executionStopped) => |
| 10 | hasActiveSession && executionStopped; |
| 11 | |
| 12 | public static bool IsDebugExecutionRunning(bool hasActiveSession, bool executionStopped) => |
| 13 | hasActiveSession && !executionStopped; |
| 14 | } |
| 15 | |
View only · write via MCP/CIDE