Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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());
 }
Esempio n. 3
0
 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());
 }
Esempio n. 4
0
 public BreakpointsSerializer(ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService)
 {
     this.settingsService = settingsService ?? throw new ArgumentNullException(nameof(settingsService));
     this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService ?? throw new ArgumentNullException(nameof(dbgCodeLocationSerializerService));
 }
Esempio n. 5
0
 CodeBreakpointsListSettingsListener(DbgDispatcherProvider dbgDispatcherProvider, ISettingsService settingsService, DbgCodeLocationSerializerService dbgCodeLocationSerializerService)
 {
     this.dbgDispatcherProvider            = dbgDispatcherProvider;
     this.settingsService                  = settingsService;
     this.dbgCodeLocationSerializerService = dbgCodeLocationSerializerService;
 }