예제 #1
0
        public MemoryExplorerViewModel()
        {
            base.DisplayName = "Memory Explorer";

            _assemblyBrowser = new AssemblyBrowserViewModel(this);
            _assemblyBrowser.PropertyChanged += this.OnAssemblyBrowserPropertyChanged;

            _breadcrumbTrail = new BreadcrumbTrailViewModel(this);
        }
예제 #2
0
        public AssemblyViewModel(Assembly assembly, AssemblyBrowserViewModel assemblyBrowser)
            : base(assemblyBrowser.MemoryExplorer)
        {
            if (assembly == null)
            {
                throw new ArgumentNullException("assembly");
            }

            _assembly        = assembly;
            _assemblyBrowser = assemblyBrowser;

            base.DisplayName = _assembly.GetName().Name;
        }