public WatchedFile(String name, String path, ObservableCollection <Tag> tags, ObservableCollection <WatchedFile> subitems) { Subs = WatchedFile.Sort(subitems); Name = name; Path = path; Tags = tags; }
private void _watchedFiles_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) { WatchedFiles = WatchedFile.Sort(WatchedFiles); }