CodeBreakpointsListSettingsListener(DbgDispatcherProvider dbgDispatcherProvider, ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService, UIDispatcher uiDispatcher, Lazy <IAppWindow> appWindow) { this.dbgDispatcherProvider = dbgDispatcherProvider; this.settingsService = settingsService; this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService; this.uiDispatcher = uiDispatcher; this.appWindow = appWindow; }
public CodeBreakpointsListSettings(DbgDispatcherProvider dbgDispatcherProvider, ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService, DbgCodeBreakpointsService dbgCodeBreakpointsService) { this.dbgDispatcherProvider = dbgDispatcherProvider ?? throw new ArgumentNullException(nameof(dbgDispatcherProvider)); this.settingsService = settingsService ?? throw new ArgumentNullException(nameof(settingsService)); this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService ?? throw new ArgumentNullException(nameof(dbgCodeLocationSerializerService)); this.dbgCodeBreakpointsService = dbgCodeBreakpointsService ?? throw new ArgumentNullException(nameof(dbgCodeBreakpointsService)); dbgCodeBreakpointsService.BreakpointsChanged += DbgCodeBreakpointsService_BreakpointsChanged; dbgCodeBreakpointsService.BreakpointsModified += DbgCodeBreakpointsService_BreakpointsModified; dbgDispatcherProvider.Dbg(() => Load()); }
public CodeBreakpointsListSettings(DbgDispatcherProvider dbgDispatcherProvider, ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService, DbgCodeBreakpointsService dbgCodeBreakpointsService, UIDispatcher uiDispatcher, Lazy <IAppWindow> appWindow) { this.dbgDispatcherProvider = dbgDispatcherProvider ?? throw new ArgumentNullException(nameof(dbgDispatcherProvider)); this.settingsService = settingsService ?? throw new ArgumentNullException(nameof(settingsService)); this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService ?? throw new ArgumentNullException(nameof(dbgCodeLocationSerializerService)); this.dbgCodeBreakpointsService = dbgCodeBreakpointsService ?? throw new ArgumentNullException(nameof(dbgCodeBreakpointsService)); this.uiDispatcher = uiDispatcher; uiDispatcher.UIBackground(() => appWindow.Value.MainWindowClosed += AppWindow_MainWindowClosed); dbgCodeBreakpointsService.BreakpointsChanged += DbgCodeBreakpointsService_BreakpointsChanged; dbgCodeBreakpointsService.BreakpointsModified += DbgCodeBreakpointsService_BreakpointsModified; dbgDispatcherProvider.Dbg(() => Load()); }
public BreakpointsSerializer(ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService) { this.settingsService = settingsService ?? throw new ArgumentNullException(nameof(settingsService)); this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService ?? throw new ArgumentNullException(nameof(dbgCodeLocationSerializerService)); }
CodeBreakpointsListSettingsListener(DbgDispatcherProvider dbgDispatcherProvider, ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService) { this.dbgDispatcherProvider = dbgDispatcherProvider; this.settingsService = settingsService; this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService; }