public MemoryExplorerListFilterSettingsViewModel(MemoryExplorerViewModel memoryExplorer)
        {
            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _memoryExplorer = memoryExplorer;
        }
        public MemoryExplorerTreeItemViewModel(MemoryExplorerViewModel memoryExplorer)
        {
            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _memoryExplorer = memoryExplorer;
        }
        public CurrentBreadcrumbViewModel(MemoryExplorerViewModel memoryExplorer)
        {
            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _memoryExplorer = memoryExplorer;
            _memoryExplorer.PropertyChanged += this.OnMemoryExplorerPropertyChanged;
        }
Example #4
0
        public AssemblyBrowserViewModel(MemoryExplorerViewModel memoryExplorer)
        {
            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _memoryExplorer = memoryExplorer;

            base.DisplayName = "Assembly Browser";
        }
        public BreadcrumbTrailViewModel(MemoryExplorerViewModel memoryExplorer)
        {
            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _memoryExplorer = memoryExplorer;
            _memoryExplorer.PropertyChanged += this.OnMemoryExplorerPropertyChanged;
            _previousSelectedObject          = _memoryExplorer.SelectedObject;

            _breadcrumbsInternal = new ObservableCollection <IBreadcrumb>();
            _breadcrumbsInternal.Add(new CurrentBreadcrumbViewModel(_memoryExplorer));
            _breadcrumbsReadOnly = new ReadOnlyObservableCollection <IBreadcrumb>(_breadcrumbsInternal);
        }
Example #6
0
        public ObjectViewModel(object instance, MemoryExplorerViewModel memoryExplorer, MemoryExplorerListItemViewModel referencedBy)
        {
            if (instance == null)
            {
                throw new ArgumentNullException("instance");
            }

            if (memoryExplorer == null)
            {
                throw new ArgumentNullException("memoryExplorer");
            }

            _instance       = instance;
            _memoryExplorer = memoryExplorer;
            _referencedBy   = referencedBy;
            _filterSettings = new MemoryExplorerListFilterSettingsViewModel(_memoryExplorer);

            base.DisplayName = _instance.GetType().FullName;
        }