public ProjectViewModel(string name) : this() { ProjectRootNode = new ProjectRootNodeViewModel(this, name); IsDirty = false; ProjectRootNode.NodeTreeChanged += (sender, args) => IsDirty = true; }
public void Reset(string name) { ProjectRootNode = new ProjectRootNodeViewModel(); ProjectRootNode.DisplayName = name; ProjectRootNode.IsExpanded = false; ProjectRootNode.IsSelected = false; ProjectRootNode.RelativeFileName = ""; ProjectRootNode.Children.Clear(); IsDirty = false; AbsoluteFilePathName = null; _filteredAnalyzerResultItems.Clear(); }