Пример #1
0
        public DebuggerService(
            StoryService storyService,
            BreakpointService breakpointService,
            DataBreakpointService dataBreakpointService,
            RoutineService routineService)
        {
            this.storyService               = storyService;
            this.storyService.StoryOpened  += StoryService_StoryOpened;
            this.storyService.StoryClosing += StoryService_StoryClosing;

            this.breakpointService     = breakpointService;
            this.dataBreakpointService = dataBreakpointService;
            this.routineService        = routineService;
        }
Пример #2
0
 public StorageService(
     StoryService storyService,
     BreakpointService breakpointService,
     DataBreakpointService dataBreakpointService,
     GameScriptService gameScriptService,
     RoutineService routineService,
     VariableViewService variableViewService
     )
 {
     this.storyPersistence          = storyService;
     storyService.StoryOpened      += StoryService_StoryOpened;
     storyService.StoryClosing     += StoryService_StoryClosing;
     this.breakpointPersistence     = breakpointService;
     this.dataBreakpointPersistence = dataBreakpointService;
     this.gameScriptPersistence     = gameScriptService;
     this.routinePersistence        = routineService;
     this.variableViewsPersistence  = variableViewService;
 }