public TypeViewModel(TypeInfo typeInfo, InteractionBrowserWindowViewModel windowViewModel) { TypeInfo = typeInfo; _windowViewModel = windowViewModel; Hierarchies = new List <HierarchyViewModel>(); }
public InteractionBrowserWindow(IEnumerable <TypeInfo> types, bool drawGraph) { InitializeComponent(); ViewModel = new InteractionBrowserWindowViewModel(types, drawGraph); ViewModel.FillGraphRequest += FillGraphRequestHandler; ViewModel.OriginalSizeRequest += OriginalSizeRequestHandler; ViewModel.FocusSearchRequest += FocusSearchRequestHandler; Loaded += new RoutedEventHandler(LoadedHandler); Unloaded += new RoutedEventHandler(UnloadedHandler); WindowManager.AddInteractionBrowser(this); }
public InteractionBrowserWindow(IEnumerable<TypeInfo> types, bool drawGraph) { InitializeComponent(); ViewModel = new InteractionBrowserWindowViewModel(types, drawGraph); ViewModel.FillGraphRequest += FillGraphRequestHandler; ViewModel.OriginalSizeRequest += OriginalSizeRequestHandler; ViewModel.FocusSearchRequest += FocusSearchRequestHandler; Loaded += new RoutedEventHandler(LoadedHandler); Unloaded += new RoutedEventHandler(UnloadedHandler); WindowManager.AddInteractionBrowser(this); }