Exemplo n.º 1
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());
 }
Exemplo n.º 2
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());
 }
Exemplo n.º 3
0
 void IDbgCodeBreakpointsServiceListener.Initialize(DbgCodeBreakpointsService dbgCodeBreakpointsService) =>
 new CodeBreakpointsListSettings(dbgDispatcherProvider, settingsService, dbgCodeLocationSerializerService, dbgCodeBreakpointsService, uiDispatcher, appWindow);
Exemplo n.º 4
0
 BreakpointMarkerDocumentViewerListener(DbgCodeBreakpointsService dbgCodeBreakpointsService)
 {
     // Nothing, we just need to make sure that DbgCodeBreakpointsService gets imported and constructed
 }
Exemplo n.º 5
0
 void IDbgCodeBreakpointsServiceListener.Initialize(DbgCodeBreakpointsService dbgCodeBreakpointsService)
 {
     dbgCodeBreakpointsService.BreakpointsChanged             += DbgCodeBreakpointsService_BreakpointsChanged;
     dbgCodeBreakpointsService.BreakpointsModified            += DbgCodeBreakpointsService_BreakpointsModified;
     dbgCodeBreakpointsService.BoundBreakpointsMessageChanged += DbgCodeBreakpointsService_BoundBreakpointsMessageChanged;
 }
 void IDbgCodeBreakpointsServiceListener.Initialize(DbgCodeBreakpointsService dbgCodeBreakpointsService)
 {
     this.dbgCodeBreakpointsService = dbgCodeBreakpointsService;
     uiDispatcher.UI(() => Initialize_UI());
 }