Exemple #1
0
 private ProfilerViewModel()
     : base("Views/ProfilerView")
 {
     this.routineList      = new SortedList <int, RoutineViewModel>();
     this.routines         = new BulkObservableCollection <RoutineViewModel>();
     this.readOnlyRoutines = routines.AsReadOnly();
 }
        private MemoryViewModel(FileService fileService)
            : base("MemoryView")
        {
            this.fileService = fileService;

            this.fileService.FileOpened += FileOpened;
            this.fileService.FileClosed += FileClosed;

            this.lines         = new BulkObservableCollection <MemoryLineViewModel>(pageSize: 4096);
            this.readOnlyLines = lines.AsReadOnly();
        }