コード例 #1
0
ファイル: ProfilerViewModel.cs プロジェクト: jtmueller/NZag
 private ProfilerViewModel()
     : base("Views/ProfilerView")
 {
     this.routineList      = new SortedList <int, RoutineViewModel>();
     this.routines         = new BulkObservableCollection <RoutineViewModel>();
     this.readOnlyRoutines = routines.AsReadOnly();
 }
コード例 #2
0
        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();
        }