protected ShellTreeItem(ShellObject shellObj, ShellTreeContainerItem parent, IShellItemsOperation shellItemsOperation) { _shellObj = shellObj; _shellContainer = shellObj as ShellContainer; _parent = parent; _shellItemsOperation = shellItemsOperation; _childrenView = new LiveListCollectionView(_children) { Filter = o => shellItemsOperation.Filter((ShellTreeItem)o) }; // {FilterDescriptions = shellItemsOperation.FilterDescriptionCollection}; if (_shellObj != null) { _name = _shellObj.Name; } if (_shellContainer != null) { _children.Add(DummyChild); PreloadThumbnails(); } }
public ShellTreeContainerItem(ShellObject shellObj, ShellTreeContainerItem parent, IShellItemsOperation shellItemsOperation) : base(shellObj, parent, shellItemsOperation) { }